Review Shortcode NOT Working For PHP Templates/ Custom Post ypes
-
I have a custom post type Property page php template called single-estate_property.php. All I had to do before was enter the following codes;
<?php echo do_shortcode(‘[WPCR_INSERT]’); ?>
<?php echo do_shortcode(‘[WPCR_SHOW] ‘); ?>and it worked perfectly.
After the latest update, I tried following your instructions below;
PHP Functions ( use in your theme/template files )
To create a more advanced implementation, you can use any shortcode in your theme/template files. Any developer familiar with customizing WordPress themes/templates can assist.Example: <?php echo do_shortcode(‘[WPCR_SHOW POSTID=”ALL” NUM=”3″]’); ?>
The above example did NOT work.
How can users with custom post types insert a code that works please?
Note the custom post type does NOT have page/post ID as it is NOT a page/post, but a .PHP template.Help, this is urgent!
- The topic ‘Review Shortcode NOT Working For PHP Templates/ Custom Post ypes’ is closed to new replies.