WordPress.org

Ready to get started?Download WordPress

Forums

Frontier
[resolved] Add a php code (3 posts)

  1. liton1980
    Member
    Posted 9 months ago #

    I am using WordPress SEO by Yoast and it allows me to show breadcrumbs in theme, It gave me a php code as below:

    <?php if ( function_exists('yoast_breadcrumb') ) {
    yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    } ?>

    Now i want to add it above title of posts and tags ( I want to show them on post's pages and tags pages). but i don't know how and where should i place it. Can you please help me?

  2. ronangelo
    Member
    Theme Author

    Posted 9 months ago #

    You need PHP Widget Plugin. This would better than editing the template files. See this http://ronangelo.com/topic/breadcrumbs/

  3. liton1980
    Member
    Posted 9 months ago #

    Yes, It works excellent. Thanks a lot.

Reply

You must log in to post.

About this Theme

About this Topic