Lance Sampson
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
Stiofan,
Works like a charm!
Thanks again for all your help!
Best Regard,
Hi
I used the code below to code snippets and created an HTML custom field to output 3rd party shortcode. It only shows the raw short code versus the output.
function my_enable_shortcodes_in_cf($html,$location,$cf){
// this line will enable it for all text inputs
$html = do_shortcode( $html );
return $html;
}
add_filter(‘geodir_custom_field_output_text’,’my_enable_shortcodes_in_cf’,15,3);Here is the code its show: [yelp-widget-pro id=”advantage-storage-garland-garland” align=”left” cache=”None”]
It works total fine in the profile description field.
Any suggestions?
Best Regards,
Stiofan
Thank you sir!
Best Regards
Is there a way to just show the “TAG” in browser meta title for the tag pages?
Where does the (Tag listing page title) – All “%%tag%% %%in_location_single%%” show? I cant see it anywhere.
Best Regards,
I figured it out. This can be closed.
Thanks!
That did the trick.
Thank you Stiofan and Paolo. That was a great help!
Best Regards,
Hi Stiofan,
It gives a 500 error with this info.
The code snippet you are trying to save produced a fatal error on line 12:
Cannot redeclare _my_extra_seo_vars() (previously declared in /home/locator/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(384) : eval()’d code:3)
Thanks
Stiofan,
You gave me a to snippet to add the “zip code” for the variables for the meta tags in Yoast for SEO per this thread.
I have update the plugins and realized that I can now use the GD meta titles and descriptions override. I think its great because it will save tons of time from having to manual add the meta info for all the “locations pages” on an ongoing basis.
With this change, the “zip code” seems not to work with the GD metas. Can you give me a snippet to make them work with the GD metas?
Best Regards,
Stiofan
Nevermind, I was looking at the wrong state. I was waiting until it worked so i could add the rest.
Thank you so much for that code. Its gonna help more than you know.
Your the King!
Best Regards,
LanceStill no abbreviations
Lance
Sounds great.
I thank you and Stiofan for all your support!
This reply has been marked as private.Hi Stiofan,
I added the code but its not working. Other than adding the code to the snippets plugin, was there anything else I needed to change?
Best Regards,
-
AuthorPosts