Changeset 951091
- Timestamp:
- 07/18/2014 03:14:58 PM (12 years ago)
- Location:
- wp-portfolio
- Files:
-
- 1 edited
- 1 copied
-
tags/1.37/readme.txt (copied) (copied from wp-portfolio/trunk/readme.txt) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-portfolio/tags/1.37/readme.txt
r951081 r951091 396 396 Yes. To add custom fields you will need to add to `wp-content/themes/%YOUR_THEME%/functions.php` (where `%YOUR_THEME% is the name of the wordpress theme you are using), 397 397 here you should use add_filter to add a function to 'wpportfolio_filter_portfolio_custom_fields'. Your function will need to return an array containing an associative array for each item, for example: 398 ` php398 ` 399 399 // Function to add custom fields to the wp portfolio plugin 400 400 function portfolioPlugin_filter($fields) { -
wp-portfolio/trunk/readme.txt
r951081 r951091 396 396 Yes. To add custom fields you will need to add to `wp-content/themes/%YOUR_THEME%/functions.php` (where `%YOUR_THEME% is the name of the wordpress theme you are using), 397 397 here you should use add_filter to add a function to 'wpportfolio_filter_portfolio_custom_fields'. Your function will need to return an array containing an associative array for each item, for example: 398 ` php398 ` 399 399 // Function to add custom fields to the wp portfolio plugin 400 400 function portfolioPlugin_filter($fields) {
Note: See TracChangeset
for help on using the changeset viewer.