Custom Fields
Re-Envisioned
Support General Display CPT using simple shortcode

  • Creator
    Topic
  • #19413
    Resolved @mindspark
    Participant

    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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.