Advertisement
sierre

Portfolio Location Field - New Feature

Mar 25th, 2022 (edited)
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.57 KB | None | 0 0
  1. // Ticket #13896
  2.  
  3. // Homepage Gallery
  4. // /plugins/oshine-modules/includes/modules/portfolio.php (341 and 499)
  5.  
  6. // line 341:
  7. $masseuse_location = get_post_meta( get_the_ID(), 'be_themes_masseuse_location', true );
  8.  
  9. // line 499:
  10. $output .= '<small style="display: block; font-size: 12px;">' . $masseuse_location . '</small>';
  11.  
  12. // TextField
  13. // /wp-content/themes/oshin/be-themes-metabox.php (188-194)
  14.  
  15. array (
  16.                 'name' => __('Masseuse Location','oshin'),
  17.                 'id'   => "{$prefix}masseuse_location",
  18.                 'type' => 'text',
  19.                 'std'  => '',
  20.                 'tab'   => 'general'
  21.             ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement