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

    (@gwin)

    Hi,
    this is mainly a question about how your theme is displaying the taxonomy pages not the WPAdverts itself.

    In most cases, you should be able to set up a sidebar for a taxonomy (advert-category in this case) page using a plugin like Custom Sidebars https://ww.wp.xz.cn/plugins/custom-sidebars/

    If this will not work you would need to ask the theme support: how to add a sidebar to a custom taxonomy page?

    Thread Starter inomi13

    (@inomi13)

    I have one more problem with search category because your script doeesn;t work. Can you you check https://aldstudio.pl/ogloszenia/advert-category/czesci-samochodowe/

    Hy inomie13,

    With this code I can insert a search bar and anywhere.
    Now it is only interesting to learn how to remove the “location” with “Shortcode Parameters”

    <?php echo do_shortcode("[adverts_list show_results='0' switch_views='0']"); ?>

    maybe Greg knows something there?

    Plugin Author Greg Winiarski

    (@gwin)

    @inomi13 what do you mean by “script doeesn;t work”?

    @mrthiemann you can remove the Location field using the Forms API but please note the API will remove the Location field in all of the forms.

    The best way to do that would be to use the Custom Field extension https://wpadverts.com/extensions/custom-fields/, create a form scheme for the search bar, name it, for example, search_anywhere and use [adverts_list] with form scheme param like this

    
    [adverts_list show_results="0" switch_views="0" form_scheme="search_anywhere"]
    
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘add sidebar another page’ is closed to new replies.