Viewing 13 replies - 1 through 13 (of 13 total)
  • I have this problem happening. I have gone to the permalinks page and changed nothing and clicked “save change” as suggested in other threads but still nothing is showing when I click on an ad category. Not even the template

    I am using Customizr theme and buddypress. The problem is happening here: https://www.musikerfinden.com/advert-category/singen-gitarrist/ (please remove if not allowed).

    Thank you for any help.

    Ray

    Thread Starter bhanumunjal

    (@bhanumunjal)

    I am using the same Customizr Theme.

    Plugin Author Greg Winiarski

    (@gwin)

    Most likely this is a conflict between WPAdverts and a theme, please open file wp-config.php add inside it following line

    define("WP_DEBUG", true);

    and refresh the page it should show actual error message instead of blank page, once you will have an error message, please paste it here.

    Also, usually you will be able to fix this by creating a separate template for your advert category page as explained here https://wpadverts.com/documentation/child-themes-and-templates/ in “Custom Taxonomy Template” chapter.

    Same problem here, also Customizr theme.

    changing WP_DEBUG to true do not change anything. Change theme and categorie shows properly.

    I found that on demo site categories shows theme but empty page. By example https://demo.wpadverts.com/advert-category/auto-parts/

    Maybe related.

    Plugin Author Greg Winiarski

    (@gwin)

    Hmm, thanks for the link, it seems this is a problem due to some recent changes in WP, i am currently travelling so i can’t look into it right now, i will post an update here on Friday.

    Plugin Author Greg Winiarski

    (@gwin)

    I made a Customizr Child Theme based on instructions available here https://wpadverts.com/documentation/child-themes-and-templates/categories seem to be working fine.

    You can copy download a copy of this child theme here
    https://dl.dropboxusercontent.com/u/30001999/snippets/customizr-for-wpadverts.zip

    Hi,
    Nice to see a near solution, i have the same problem whith headway theme, could you help me ?

    Thanks a lot !

    Plugin Author Greg Winiarski

    (@gwin)

    The Headway theme is a paid product so i do not have access to it like i did with Customizr i am afraid, however the child theme for Customizr i was able to create by following instructions here https://wpadverts.com/documentation/child-themes-and-templates/ in “Custom Taxonomy Template” part, the same steps shold work with Headway.

    I was having the same issue with my theme where nothing would show up after clicking categories.
    I followed the “Custom Taxonomy Template” and added that code to my themes functions.php

    It did work however ad pictures do not show up and the ad that is posted is just text rather than a link to the ad.

    I am using Drop Shipping theme. Thanks a lot for your help.

    Plugin Author Greg Winiarski

    (@gwin)

    I am not sure, how does it look exactly, can you paste a link to a page where this happens?

    Plugin Author Greg Winiarski

    (@gwin)

    Below is a full markup for taxonomy-advert_category.php file for Drop Shipping theme this should work fine

    <?php get_header(); // Loads the header.php template. ?>
    
    <main <?php hybrid_attr( 'content' ); ?>>
    
    <article <?php hybrid_attr( 'post' ); ?>>
        <header class="entry-header">
    		<h1 <?php hybrid_attr( 'entry-title' ); ?>><?php single_post_title(); ?></h1>
    	</header><!-- .entry-header -->
    
    	<div <?php hybrid_attr( 'entry-content' ); ?>>
            <?php
                global $wp_query;
                remove_filter("the_content", "adverts_the_content");
                echo shortcode_adverts_list(array(
                    "category" => $wp_query->get_queried_object_id()
                 ));
             ?>
    		<?php wp_link_pages(); ?>
    	</div><!-- .entry-content -->
    
    	<footer class="entry-footer">
    		<?php edit_post_link(); ?>
    	</footer><!-- .entry-footer -->
    
    </article><!-- .entry -->
    </main><!-- #content -->
    <?php locate_template( array( 'misc/loop-nav.php' ), true ); // Loads the misc/loop-nav.php template. ?>
    
    <?php get_footer(); // Loads the footer.php template. ?>

    Thanks Greg worked perfectly!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Nothing shows up when I click Category in advert-category page’ is closed to new replies.