- This topic has 1 reply, 2 voices, and was last updated 3 months, 1 week ago by .
Normally I use Beaver Themer to display CPTs, but in this case, I have a site that doesn’t use any page builder.
CPT = Announcements (for COVID-19)
CPT ID = 3621
Goal = display CPT in an alert bar on every page of the site
Details = I made an announcement for COVID-19. I plan to display the notice by inserting a simple shortcode in the header.php file. I’m not a PHP coder but I know I can echo a do_shortcode command inside a div in the header.php file.
My issue is I am trying to first confirm that the announcement can be viewed on the site via a metabox shortcode.
[rwmb_meta object_id="3621"] isn’t working inside the text editor on my test page. see here: https://heartwoodpreserve.com/test/
What am I doing wrong?
- You must be logged in to reply to this topic.