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

    (@gwin)

    Hi, you will need to create a template for the Advert Category taxonomy as explained here https://wpadverts.com/documentation/child-themes-and-templates/ in Custom Taxonomy Template part.

    Basically right now the problem is that Divi is using a full width template for all the taxonomies.

    Thread Starter chapman387

    (@chapman387)

    Hi Greg,
    Thanks for your reply.
    So far I have followed the instructions, but the categories still do not show quite correctly. So, I am trying the next fix mentioned and I have searched for the file taxonomy-advert_category.php but it does not exist.
    Any ideas?
    Thanks,
    Chris

    Thread Starter chapman387

    (@chapman387)

    Ignore last post!I missed the part where I have to create taxonomy-advert_category.php !
    However, it is the next bit I am unsure about:
    “copy to it content from taxonomy.php or archive.php and customize to your needs.”
    I have 2 taxonomy.php files, one here:
    …wp-admin/includes/taxonomy.php
    and one here:
    …wp-includes/taxonomy.php
    Which one do I copy the content from, to place in my:
    taxonomy-advert_category.php
    Sorry to be so thick, but I am not a php expert!
    Cheers,
    Chris

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, this should be a taxonomy.php file inside wp-content/themes/your-theme-name/ folder.

    Carin

    (@sparksfreebies)

    Any ideas on doing this with Genesis child theme, I found archive.php in genesis folder, lib, structure, and copied content over, but it does not contain the while(have_posts()). I also added the action to functions.php. Category pages just say, Read more…

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, sorry i am not sure, i am not familiar with the Genesis themes. If the archive.php file has the_content() call you can try replacing it with the code from WPAdverts documentation, if not then it is possible that the archive.php loads some other file which has the_loop but you would need to ask the theme support about it.

    Carin

    (@sparksfreebies)

    Are there shortcodes for category slugs? So we can make pages manually.

    Carin

    (@sparksfreebies)

    I found it! in adverts-list section, I was looking in category section!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Problems Displaying Categories’ is closed to new replies.