WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: AsideShop] Asideshop and the page title in the static blog page (4 posts)

  1. deuts
    Member
    Posted 5 years ago #

    After enabling asideshop, the page does not return the title tag. I had my title tag defined in the header.php by:

    <title><?php bloginfo('name'); ?><?php if(is_home()) { ?> | Blog<?php } else { ?><?php wp_title(); ?><?php } ?></title>

    Also, I used a static page as a homepage and another static page for blog posts (index.php).

  2. deuts
    Member
    Posted 5 years ago #

    By the way, I'm also using the All in One SEO plugin, which I think usually overrides the title tag I defined in the header.php.

  3. maijs
    Member
    Posted 5 years ago #

    deuts,

    AsideShop only handles output from The Loop, that is, only the part which loops through the posts. Therefore wp_title() should not be affected in any way.

    If All in One SEO uses something from The Loop, then problems may arise. Can't tell you precisely.

  4. deuts
    Member
    Posted 5 years ago #

    Actually, I just unchecked the "Rewrite Titles" option in the All in One SEO settings page, and everything seemed to work fine. Got rid of the problem.

    But then, another problem arose. I'm using the post titles only to show in the archives, categories, tags, and search results pages. I unchecked the "Parsed Templates on Archive view pages" in the options. But lo and behold, the plugin parsed the template in the search results page (not in categories/archives/tags pages).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags