hammeri1
Forum Replies Created
-
Great, thanks Greg, that worked.
Cheers,
Richard.
Hi,
My mistake, I typed it incorrectly.
It should read ‘.adverts-field-header-title’.
Here’s the excerpt from the wpadverts-frontend.css file I’m referring to:
.adverts-form .adverts-control-group > div.adverts-field-header > .adverts-field-header-title {
display: inline-block;
width: 100%;
font-size: 1.2rem;
line-height:1.6rem;
font-weight: bold;
}Regards,
Richard.
Fantastic it works well! Thanks very much for your help.
Regards,
Richard.
Thanks Greg,
It’s almost there. I’ve removed the access restriction on the page on my Dev site: https://moovrmatch.co.uk/dev/add-property-for-sale/
I can’t get the Href links to work and the css for the box formatting isn’t being picked up.
Here’s how I applied the change to the function preselect_ad_category_display()
Have I applied it incorrectly?
Thanks for your help,
Richard.
function preselect_ad_category_display( $atts ) {
$terms = get_terms( ‘advert_category’, array(
‘hide_empty’ => 0,
‘parent’ => 0,
) );ob_start();
/**
Hides “select category before creating an advert” message and icon
$adverts_flash = array(
“error” => array( ),
“info” => array(
array(
“message” => __( “Select category before creating an Advert”, “preselect-ad-category” ),
“icon” => “adverts-icon-tag”
)
)
);
*/
adverts_flash($adverts_flash);?>
<div class=”adverts-flexbox adverts-categories-top”>
<div class=”adverts-flexbox-item adverts-flexbox-columns-2 adverts-category-slug-seller”>
<span class=”adverts-flexbox-wrap”>
<span class=”adverts-flexbox-icon adverts-icon-home”></span>
<span class=”adverts-flexbox-title”>
Property for Sale </span>
</span>
</div><div class=”adverts-flexbox-item adverts-flexbox-columns-2 adverts-category-slug-buyer”>
<span class=”adverts-flexbox-wrap”>
<span class=”adverts-flexbox-icon adverts-icon-key”></span>
<span class=”adverts-flexbox-title”>
Property Wanted </span>
</span>
</div></div>
<?phpreturn ob_get_clean();
}Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Change font size of Advert Add textGreat, thanks for your help. All worked well.
This leads me to another question relating to the preselect-ad-category.php file but I’ll raise a new post for this.
Regards,
Richard.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Change font size of Advert Add textHi Greg,
I figured out the font using wp-admin > appearence > edit css.
I’d like to remove the text “select category before placing an advert”.
Can you point me in the right direction?
Thanks,
R
Thanks very much. All sorted now.
Regards,
Richard.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Ad Title to include logged in user nameBrilliant, works just as I’d hoped.
Thanks,
Richard.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Category Pricing ErrorWill do, apologies, I didn’t realise that.
Regards
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Search Form Problems…just realised the if I always put Location at the end of my Search box, Radius always appears next to it. This is fine. No big deal.
My main issue is the Price formatting. Would be great for the drop down to have £x,xxx,xxx or at least x,xxx,xxx.
Thanks
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Adding custom fields to Advert ListingFantastic! Works a treat.
Many thanks.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Search Form ProblemsThanks Greg,
That works. I should explain the only reason I tried using £xxx,xxx format was because I was running the Code Snippet Max / Min fields with the Custom Fields initially and I noticed the Code Snippet fields seemed to correctly interpret £xxx,xxx.
Can I get my Search drop down Max/Min boxes to work in a similar way to the Price field on the Ad Details forms which have the option to ‘convert string formatted as price to float?
Also any help getting the Location and Radius fields to stay together would be great. Radius always moves to the end of a form.
Thanks,
Richard.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Search Form Problems…sorry Greg, spoke too soon. Search by price isn’t working. Location is, my other custom field is (bedroom_count) but not price. It did when using the code snippet but not using the custom fields add in for creating Max and Min price.
I can’t see how to add a screen shot here but the Custom Fields settings I made are:
Max Choices – 1
Fill Method – I will enter options myself
Values for drop down £100,000 – £1000,000 with ‘£’ and ‘,’ characters
Search by Price
Match if Greater Than for Equal to for Min, Less than or Equal to for MaxForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Search Form ProblemsThanks Greg,
I’ve deactivated the snippet and used the Custom Fields for Max and Min Price. All working fine as a drop down – thanks! The search by bedroom seems to be working ok too. Just leaves me with these Search Field related questions:
1. When I enter a search selection it reverts to the default (if drop down then first option) after hitting ‘Search’. Any way to make the search selection stick? E.g. if selecting 3 Bedrooms this sticks after the Search button hit? Just helps the user know what search option they selected.
2. The Location Field works with a Radius field. I can’t seem to show them next to each other though when I add new custom fields. Radius is always at the end of the custom fields I add to the search form. How can I keep Radius next to Location? ( see page https://moovrmatch.co.uk/adverts/)
That’s it for Search set up. I’ve one more question on Ad Listing layout but I’ll ask in a different topic.
Thanks,
Richard.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to edit category listing pageThanks for explaining, I’ll wait till the map and search are integrated before adding.
Mean time I’ll check out the child-themes link you mentioned.
Cheers Greg.