• Resolved mantasdev

    (@mantasdev)


    1. Any news about gallery images snippet? Where add’s images will be hidden from WP Media menu.
    2. Any news about different category levels snippet? Where category levels would be displayed in separate dropdown’s.
    3. What do You think about shortcode that would hide any field from a form? Like [adverts_list location=”hidden”]. So in this case there would be a possibility to create few different forms in different pages.
    4. Is there any way to make different [adverts_add] forms? I mean that on different forms there would be different fields.
    5. Is it possible to create something like “Featured add” and call it let’s say “Recommended add”? So add’s marked with “Recommended” would be displayed separately.
    6. I was thinking about one feature – “Latest user searches”. This feature would show latest (let’s say 3) searches user made while he was logged on. It could be like this:
    Your latest searches:
    Main category, subcategory (and options: Edit, delete)

    What do You think? ??

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

    (@gwin)

    1. i checked this and for now it will not be possible to filter out the Advert related images like this, at least not without big performance lose.

    I will be implementing changes in one of next releases which will make filtering media library items possible without loose in the overall site performance.

    2. i am afraid i did not have time to work on this.

    3. i think this is not needed, there is already a Custom Fields extension which allows creating different form schemes and you can then use the [adverts_add] as [adverts_add form_scheme=”form_without_location”].

    4. yes, this is possible using Custom Fields extension https://wpadverts.com/extensions/custom-fields/

    5. this is possible, if the Recommended Ads should just display differently on the list then you can add “Recommended” checkbox to the form using Custom Fields, then in your theme functions.php file add

    
    add_filter( "adverts_css_classes", "recommended_ad_css", 10, 2 );
    function recommended_ad_css( $class, $post_id ) {
      if( get_post_meta( $post_id, "is_recommended", true ) ) {
        $class .= " wpadverts-recommended-ad";
      }
      return $class;
    }
    

    If you have in [adverts_add] a field named is_recommended and it has a value set (the field is checked) then on the Ads list this item will have an additional wpadverts-recommended-ad class which you can style from wp-admin / Appearance / Customize / Additional CSS panel.

    6. this is possible but will require some custom programming in order to add such feature.

Viewing 1 replies (of 1 total)
  • The topic ‘Several huge questions’ is closed to new replies.