Martin Omaga
Forum Replies Created
-
AuthorPosts
-
Hi.
Im trying to make somehow the description disabled, or at least that its not necessary to fill it.
So, I was able to display:none it 😉
But, I need to have a description text by default (for the users could add listings, with default description that is hidden).
I found out a snippet:
function my_default_post($content)
{
if (empty($content))
$content = “Your default text”;
return $content;
}add_filter(‘the_editor_content’, ‘my_default_post’);
But Im pasting it in functions.php (or general.php) and it just wont put any default.
Do you have any clue how is it possible?
Alright, so I want to put the NExtEnd Facebook connect (but like on Yelp, inside the login box, but before the form.
Alright. So, I want to insert some div (related with Facebook Connect) between the Title of Login and Login form.
Something like Yelp sign up: https://www.yelp.com/signup (but I want both, signup and login form)
I can do it, but I just want to find out how can I do it on template folders (to avoid messing around with the core ones) 😉
Thanks!
Meawhile is fixed, at least Facebook (I had to delete “www” in Facebook App configuration)
Thanks in advance.
Alright, meanwhile I got the solution.
I was missing brackets in @media. I was trying this:
@media only screen and (max-width: 767px)
.geodir_submit_search {
width: 100%
}when it should be like:
@media only screen and (max-width: 767px) {
.geodir_submit_search {
width: 100%
} }😉
Thanks anyway.
Meanwhile I got it to remove.
Even so, removing it will not solve the issue.
The thing is everytime I open the website, it filters by default all the results of “Default City”. But we want to have by default, all the results.
How can we get by default all the results in homepage?
There isnt anyway to have only search for all teh ocations (kind of global)?
It doesnt works. It seems it not displays that class id, but continues to be showed.
Ok, I just found out why.
It seems that WordPress by default doesnt allow shortcodes inside widgets.
But pasting this line into functions.php:
// Enable shortcodes in widgets
add_filter(‘widget_text’, ‘do_shortcode’);It works now 😉
Hm, it doesnt recognize. Im using it inside a widget text block.
And is it possible to deactivate the “Near” input search and have only one search field? If so, any option to do that?
Thanks again.
By the way, if I deactivate the locations plugin, will not resolve and have a global search?
Or I can get all the lsitings and website logic broken?
Thanks.
Hm, thats not good for directories that are country based with small amount of listings.
And which is the link to reset location?
By the way, in demo it happens to. How can we disable?
September 17, 2015 at 3:44 pm in reply to: How to change width of Listing Detail Content Section #53440Meanwhile we changed already via css. Thanks!
-
AuthorPosts