• Resolved kamoe

    (@kamoe)


    The category view (Where ads in a category is listed) there is no sidebar shown. As category listing is not done via customlink/shortcode I cant edit this page as I can do with my main page I have created with the options the shortcodes give me.

    Easiest and most flexible would be if listing was done with a shortcode and user could configure the URL/page containing this listing thereby beeing able to create it as a page. Any hope of this as a feature at some point?

    The ads themselves have the default sidebar so that’s possible to fix with plugins that give custom sidebar for specific content types. But again a solution as I suggest for categories applied to ads (posts) as well would be more flexible and elegant.

    For a site where all content is related to these ads.. current feature works great. But for a content rich site with an ad section, a lot of tweaking is needed.

    Your current shortcodes allow me to create a page showing ads for only a specific category. So by creating a manual frontpage that links to various manually created category pages I have full control of the layout. BUT as each ad as a link to the category I have no control over. Users will end up in the category listing page I have no control over.

    Is my only option to fix my “problem” related to no sidebar in category view this one:

    https://wpadverts.com/documentation/child-themes-and-templates/

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    It is not possible to set a shortcode for category pages, this is not a WPAdverts limitation but rather WordPress design.

    The category pages (unlike Pages) are automatically generated from archive.php or taxonomy.php template in your theme see https://developer.www.ads-software.com/themes/basics/template-hierarchy/

    If you want some specific design for the category pages then this will require creating a taxonomy-advert_category.php template in your theme directory as explained here https://wpadverts.com/documentation/child-themes-and-templates/ in “Custom Taxonomy Template” section.

    If you only need to add a sidebar to the category pages you might be able to do that by installing Custom Sidebars plugin, but it might or might not work, it mainly depends on your theme and how the templates for category pages are created.

Viewing 1 replies (of 1 total)
  • The topic ‘Category view – no sidebar (No control over layout)’ is closed to new replies.