• Resolved alpakal

    (@alpakal)


    Hi,

    First I’d like to thank you for attending the users’ problems really quickly (and solving them of course). I have a problem getting Classified Categories Widget to display properly. If you could have a look over my testing site, at:

    https://139.59.129.50/classifieds/

    Which is in half Turkish / half English sorry about that ?? but on the right sidebar, you’ll notice the main classified categories. When I click on any of the categories, the template reverts to a no right-sidebar mode.

    I’m using an extension called “Custom Sidebars” by WPMUDEV. I have managed to display the categories for single classified posts, but they do not display the right category tree. Here’s an example classified;

    https://139.59.129.50/advert/tango-dansi-verilir/

    The widget only displays the top categories instead of the category tree for that classified. (Show top categories option is unchecked at the widget settings). I appreciate your help and support, thanks!

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

    (@gwin)

    Hi, this actually has more to do with the theme rather than with Categories Widget. When you go into advert_category (or rather into custom taxonomy) page WordPress will use taxonomy.php template as a template which most likely is different then page.php template in your theme.

    The best way to have this resolved is to create taxonomy-advert_category.php template file which will be used as template for Advert Categories and customize it to look like Page template (the page with right sidebar). This is explained in more details here https://wpadverts.com/documentation/child-themes-and-templates/ in part “Custom Taxonomy Template”.

    Thread Starter alpakal

    (@alpakal)

    Hey,

    Nailed it! Thanks for the great tip. There’s only a small gap on the bottom of the content part that prevents proper display of the sidebar. Could you please check here;

    https://139.59.129.50/advert-category/ozel-ders-arayanlar/

    I’ll be glad if you could tell me how to get rid of that whitespace, you’ll probably save me a couple of hours:) Thanks!

    By the way, I’ll go on and buy some add-on modules, but have a couple of questions. Is here the right place to ask, or do we open tickets from your page? Thanks,

    Thread Starter alpakal

    (@alpakal)

    Oh, sorry, by the way, I forgot to ask. Is there any way to change /advert-category permalink to /classified-category (in order to prevent Adblock problems), thanks again!

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. in your site CSS there is following code

    
    .site {
        min-height: 736px;
    }
    

    it creates the gap if page height is smaller than 736px, you can either change this value or wait until there will be at least 5 recent ads then the gap will disappear.

    2. you can set custom slugs using the code snippet available here https://github.com/simpliko/wpadverts-snippets/blob/master/custom-slugs/custom-slugs.php

    3. questions about the add-ons you can ask here or using the contact form, i usually check both the same time. Of course if you have some data you do not want to share publicly it is best to ask via the contact form.

    Thread Starter alpakal

    (@alpakal)

    Hi,

    Thanks for the quick and helpful reply.

    1) I’ll wait before 5 ads are placed, that’s no problem, thanks for clearing that up.

    2) I have changed the slugs by putting custom-slugs.php into mu-plugins folder, but now it gives a 404 error when trying to navigate to the advert category and the advert itself. I’d be glad if you could check for example;

    Category:
    https://139.59.129.50/classified-category/ozel-ders-verenler/

    Advert:
    https://139.59.129.50/classified/tango-dansi-verilir/

    3) I am trying to formulate a classifieds model (on how to implement and pricing) right now, I think I’ll be finished in a couple of days, I’ll contact you over the form on your webpage about my questions. Thanks a lot for your really helpful support!

    • This reply was modified 8 years, 6 months ago by alpakal.
    Thread Starter alpakal

    (@alpakal)

    Hello,

    Never mind the #2 problem that I was talking about. I solved it by simply flushing the permalinks. But thanks anyway for your great support. I’ll be contacting you in a couple of days about the extensions, cheers,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Classified Categories Widget not working properly’ is closed to new replies.