rajs1010
Forum Replies Created
-
add_filter( "wp", "loggedin_members_only_init", 50 ); function loggedin_members_only_init() { if( is_singular( 'advert' ) && get_current_user_id() < 1 ) { remove_action( 'adverts_tpl_single_bottom', 'adverts_single_contact_information' ); remove_action( 'adverts_tpl_single_bottom', 'adext_contact_form' ); remove_action( 'adverts_tpl_single_bottom', 'adext_bp_send_private_message_button', 50 ); add_action( 'adverts_tpl_single_bottom', "loggedin_members_only", 5 ); } } function loggedin_members_only( $post_id ) { $flash = array( "error" => array(), "info" => array(), "warn" => array() ); $flash["warn"][] = array( "message" => sprintf( "Only logged-in user can contact sellers. <a href=\"%s\">Login</a> or <a href=\"%s\">Register</a>", wp_login_url( get_permalink( get_the_ID() ) ), wp_registration_url() ), "icon" => "adverts-icon-block" ); adverts_flash( $flash ); }
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Phone number background colourthank tou
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Phone number background colourin this image phone number should look like a button with background colour.
- This reply was modified 1 year, 3 months ago by rajs1010.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] contact form after related adsThank you
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] contact form after related adsworking fine, thank you so much..but after filling contact form no mail is received to admin or owner.. please look into this.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] category shouldnot be exist in urlbut i did not found like this “category” name in url of other classifieds websites..
but this will create bad effect to SEO ?.simply super running well.i need same thing for perticular category.i mean only selected categories contact info should be visible to logged users.how to do this ?
thanks in advanceForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Sub category listsuppose main category is “A”
B,C,D are the sub categories of “A” main category.
if i select main category “A”,its showing all adverts of B,C,D sub categories.
but above the adverts lists,sub category B,C,D names has to display to filter the adverts…how to solve this Greg ????.Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] star ratings and views countsok.
is there any ways to activate above features(Star rating & views count) without plugin ???.Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to add tags to advert adsThanks for fast quick reply and support Greg.its working fine…
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] SEO Friendly URLHi Greg, WPadverts plugin is awesome & very usefull plugin. But i have two problems that 1). whenever i created a classified category, URL of that category will be like this “www.example.com/adverts-category/post-name”. i dont want that ‘adverts-category’ in url.
2). whenever i add a ad in classifieds, URL of that ad will be like this “www.example.com/advert/ad-name”. but i dont want that ‘advert’ in url.
because i need SEO friendly url.so what is the solution ?…
thanks in advance