Giri
Forum Replies Created
-
AuthorPosts
-
Hi Andrew author page templates uses Default featured images.
You can add a constant in wp-config.php file to modify that default featured image.
define('SD_DEFAULT_FEATURED_IMAGE', 'http://your image url here');
Hi Richard you may have to modify your code like this
This is your original code.
<li id="geodir_1tag"><span id="geodir_1_row">'.$post->geodir_1 . '</span></li>
You have to modify like this
global $preview; <li id="geodir_1tag"><span id="geodir_1_row">'.if ($preview) { $post->geodir_1[0] } else { $post->geodir_1 } . '</span></li>
Thanks
Thanks for the link Richard. I’m looking into it.
You are welcome.
FYI
strtolower('')
and
''
are same.
Like I mentioned earlier, I don’t have much experience with widget logic.
So to target when no location is set you would use like this
strtolower(geodir_get_current_location(array('echo' => false)))==''
August 2, 2017 at 12:10 pm in reply to: Use geolocation data to determine widget visibility? #389401Hi, You need to be careful when cut and pasting from our documentation. Sometime the quotes gets converted to backticks.
The only other thing I am waiting on is something I asked about in this thread above: how to use the logic to set a widget when NO location has been selected – or ‘everywhere’ is selected after a location had been – is there a way to do that?
If no location selected then country value would be empty. so try checking for empty country string.
Hi James,
I discussed with my colleague. He suggested to use css max-height to reduce the div height since there is no other workaround.
Thanks
I already fixed the quotes. You were using the backtick for quotes. I just want you to test and let me know if that works or not.
Thanks
August 1, 2017 at 12:54 pm in reply to: Use geolocation data to determine widget visibility? #389267You were using incorrect quotes. Can you try now?
This reply has been marked as private.August 1, 2017 at 12:12 pm in reply to: Add price package specific class to the preview page #389251FTP detaisl are same for Cpanel
Could you give me the url where I can access the CPanel?
Site url?
Hi Richard, Can you make sure your ftp credentials are correct?
I’m glad you solved that. I’ll mark this thread as solved.
Thanks
UsersWP pages are powered by shortcodes. So your theme should support sidebar in pages. UsersWP has nothing to do with sidebar.
-
AuthorPosts