• Resolved chrimbus

    (@chrimbus)


    I’m trying to spit out the meta desc via something similar to this function: <?php bloginfo('description'); ?> but I’m having a hard time finding the answer in your documentation.

    Thanks in advance for your help!

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

    (@cybr)

    Hi Jordan,

    I think you’re looking for this:

    echo function_exists( 'the_seo_framework' ) ? the_seo_framework()->get_description() : '';
    
    Thread Starter chrimbus

    (@chrimbus)

    @cybr Yes! Thank you! Is that information in the documentation on your site anywhere? Thanks!

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Jordan,

    Because the code is vast in size, I chose to spend my time documenting in the code files, rather than on a page that tries to capture its essence. It saves me a lot of time, and it prevents asynchrony. I’m going to automate the documentation, so to render whatever’s found in the code inside pages.

    Until then, you can find all the code on the Github page.

    For example, here’s get_description().

    When in doubt, reach out to me! So you’ll find yourself less likely bumping into issues ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I spit out the meta description with PHP?’ is closed to new replies.