Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
Great! 🙂
October 25, 2017 at 9:58 am in reply to: Google Analytics Widget Errors – (401) Invalid Credentials #402471Thanks for the link, it seems they are using a older version of the Google API, if they upgrade to the latest V1 version (1.1.8) it should work, there is not much else we can suggest.
Thanks,
Stiofan
Hi Mark,
You have this code in the page sidebar widget, it looks like a tagmanager code but not the standard code, if i remove it then everything works:
<!-- /5711594/300x250Home --> <div id='div-gpt-ad-1455028456175-0' style='height:250px; width:300px;'> <script type='text/javascript'> googletag.cmd.push(function() { googletag.display('div-gpt-ad-1455028456175-0'); }); </script> </div>I have removed it and placed it as the top inactive widget if u need to change it.
Thanks,
Stiofan
That helps, can you give me DB access like phpMyAdmin?
Stiofan
Hi Fabio,
If we go by your example and limit custom fields by category, do we also then further filter them by price package? And when it comes to advanced search do we show all possible items or do we then further have to filter by category to then show the specific options for advanced search?
The point i am making is that this “sounds easy” but has a lot of knock on effects that need to be considered, my points above are just a few of them. If some UX genius came up with a plan tomorrow of a better/simpler way then we would implement it but we are yet to find the “perfect” solution, we think what we have is pretty close.
Thanks,
Stiofan
Not tested but this is how i would tackle it, first make the default view “list view” then we will set the ones that are claimed to show as a grid leaving the unclaimed ones as a listview.
add_action('geodir_post_view_extra_class','_my_gd_listing_extra_clases'); function _my_gd_listing_extra_clases($class){ global $post; if(isset($post->claimed) && $post->claimed){ $class .= " geodir-gridview gridview_onehalf "; } return $class; }Thanks,
Stiofan
[email protected] please add a link to this forum post for reference.
I might wait till tomorrow to discuss this with Kiran to see if he has any ideas.
Thanks,
Stiofan
That is very strange, i have not seen that before and i can’t replicate on my servers.
Is there a way you can get me FTP access?Stiofan
🙂
You are welcome! 🙂
Probably because u changed the name=”package_id” to name=”package-id” it needs to be _ not –
Stiofan
Hi Matthew,
I did a release, please update and check.
Thanks,
Stiofan
October 24, 2017 at 11:44 am in reply to: Google Analytics Widget Errors – (401) Invalid Credentials #402297Hi Lauren,
I am guessing that plugin is not free? If you can provide it i will take a look, if its an easy fix i will look into it if you still intend to use it?
Stiofan
Something like
UPDATE wp_posts SET comment_status = 'open' WHERE comment_status = 'closed' AND post_type='gd_place'Stiofan
You can use this hook ‘geodir_post_view_extra_class’ to add extra clases to identify it and style it as you wish.
Stiofan
-
AuthorPosts