Wiki

Clone wiki

Wordpress Resume Shortcode / Home

#How to use it

##Just add the shortcode [itemcv] in your page content.

You can chose to share the amazing stuff you have done during this experience, by writing it between [itemcv] and [/itemcv].

##Some optional attributes are also available :

  • start date : optional, start date of the experience (works together with enddate)
  • dateseparator : optional, default is "
    ".
  • enddate : optional, end date of the experience (works together with startdate). Write "Today" if current position.
  • line1 : optional, for example the employer (standalone)
  • lineseparator : optional, default is "
    ".
  • line2 : optional, for example the position (standalone)

##For example

[itemcv startdate="January 2012" enddate="December 2013" line1="Apple Inc." line2="Chief Marketing Officer"] I have designed the new iPhone 7 [/itemcv]

#About the code

The file actions/wprsc-addshortcode.php hosts the class wprsc_addshortcode. This class contains attributes to be modified in case you wish to add or change html tags or classes :

  • protected $TagGlobalWrapper = 'div';
  • protected $ClassGlobalWrapper = 'itemcv';
  • protected $TagDateWrapper = 'div';
  • protected $ClassDateWrapper = 'dateitemcv';
  • protected $Tagline1 = 'span';
  • protected $Tagline2 = 'span';
  • protected $Classline1 = 'line1';
  • protected $Classline2 = 'line2';
  • protected $TagDescWrapper = 'div';
  • protected $ClassDescWrapper = 'descitemcv';
  • protected $TagContentWrapper = 'div';
  • protected $ClassContentWrapper = 'contentitemcv';

Updated