Carin
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] how to flag inappropriate adsJust checked WP Report Post was last updated 3 years ago and dev page is 404, maybe Greg can make a new addon! It seems pretty important.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] how to flag inappropriate adsThank you!
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] tracking metakeyAnother plugin I am using -Print PDF Labels, asked for the metakey to insert tracking number into the woocommerce Order Notification email and Invoice, how would I specify the tracking within the wc_connect_labels as a metakey?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] disable price on certain categoriesI want to turn off price field in some Custom Forms, not all, and do not know how, I emailed you, thanks!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] disable price on certain categoriesHi Greg, I have Custom Fields, and Price is not an option to turn off in a form, am I missing something, should I open a support ticket or just ask my developer to figure it out? Thanks!!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] disable price on certain categoriesTo be clear, I want to hide the Price field from the ad posting area and then also from the ad display anywhere it can appear, but only on specified categories.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] disable price on certain categoriesI will need ask my developer to do that, thank you for your help on figuring this out. I do want to hide the Price field on certain categories and the Custom Forms do not offer that option.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] disable price on certain categoriesHi Greg, disable showing the price on certain categories, thanks!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Remove Related ads from Ad Preview PageHi Greg, Sorry the Related ads are still showing on the Ad Preview Page, https://www.screencast.com/t/QMQLM8MT
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Remove Related ads from Ad Preview PageHi Greg, and Happy Holidays to you!
Just to be sure I am doing this right, in order to show the related content on the ad details pages only, I will modify the original snippet to be like this now: (adding $args to the return at top). I want to be sure Related Ads is removed from the Ad Preview Page as it is confusing some of my beta testers.function related_ads_list_query( $args ) { if( ! is_singular( 'advert' ) ) { return $args; } $post = get_post( get_the_ID() ); $args["post__not_in"] = array($post->ID); // search by keyword $args["author"] = $post->post_author; remove_filter( "adverts_list_query", "related_ads_list_query" ); return $args; }
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Remove Related ads from Ad Preview PageThat worked for Ads by this author, but when I tried to modify Related ads like this it broke the site
function related_ads_list_query( $args ) { if( ! is_singular( 'advert' ) ) { return; } $post = get_post( get_the_ID() ); $args["post__not_in"] = array($post->ID); // search by keyword $args["author"] = $post->post_author; remove_filter( "adverts_list_query", "related_ads_list_query" ); return $args; }
Worked perfectly, thank you so much!!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Remove Related ads from Ad Preview PageI am using these, any chance you could show me where to put that? Greatly appreciated!
function related_ads_list_query( $args ) { $post = get_post( get_the_ID() ); $args["post__not_in"] = array($post->ID); // search by keyword $args["author"] = $post->post_author; remove_filter( "adverts_list_query", "related_ads_list_query" ); return $args; }
and
function related_ads_tpl_single_bottom( $post_id ) { add_filter( "adverts_list_query", "related_ads_list_query" ); echo '<h3>' . __( "More ads by this person") . '</h3>'; echo shortcode_adverts_list( array( "redirect_to" => "", "search_bar" => "disabled", "show_pagination" => 0, "posts_per_page" => 5, "display" => "list" ) ); }
I added to custom snippets plugin and no change, do I need to add something to the shortcode as well?
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] We have slightly modified the address enteredSame address, only difference might be the extra 5 numbers on zipcodes,but it did not show that message on every order before, now after we changed servers (cloned the site and moved it) it does. We thought maybe there was a file missing or something we need to do to have it perform as before.