• Resolved bcarney

    (@bcarney)


    The theme that I use has a default page that displays posts, so I can’t use a shortcode on that page. Is there a PHP snippet I can use that let me display lists on the page? Thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author QuantumCloud

    (@quantumcloud)

    You can use the do shortcode php code inside your theme file:

    <?php echo do_shortcode(‘[qcopd-directory mode=”all” style=”simple” item_orderby=”menu_order” column=”2″ enable_embedding=”false” orderby=”date” order=”ASC” title_font_size=”” subtitle_font_size=”” title_line_height=”” subtitle_line_height=””]’); ?>

    Hope that helps.

    Thanks

    Thread Starter bcarney

    (@bcarney)

    Thank you – and I just learned something new, I didn’t know you could call shortcodes that way!

    Plugin Author QuantumCloud

    (@quantumcloud)

    You are most welcome! Glad to be of help ??
    Please consider leaving the plugin a great rating. That helps us a lot.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP code?’ is closed to new replies.