Fody
Forum Replies Created
-
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Multi Currency for ListingThats very good. Will the multi currency automatically adjusted based on today’s conversion rate? I mean like airbnb.com you can change the viewing of the currency and it will convert original price based on today’s rate.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Dynamic Search Formand it will dynamically load the correct form whenever we change the value in category dropdown?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to add WhatsApp button?I didn’t use shortcode at all.
I found the fix. you should add your custom button to this “wpadverts/block/details/atts” filter if you use “Block (recommended)” as your rendering type.
But the weird thing is, you dont need to do this if you set the rendering type to “Default”
Now ignore the whatsapp button. My question is, Both “Default” and “Block (recommended)” rendering is using “block”. Why you need to separate the template for both as both is using block? its make everything complicated. and as you can see from the screenshot it will make the overall look a little different if you forget to make the css styling exactly identical.
“Default” is using this:
Adverts_Block_Single_Contact Class
/wpadverts/blocks/single-data-table/templates/list.php“Block (recommended)” is using this:
Adverts_Block_Details class
/wpadverts/blocks/details/templates/single.phpForum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to add WhatsApp button?how to make the icon bigger on the whatsapp button?
when i change the icon parameter, the icon looks small compared to the text
"icon" => "fa-brands fa-whatsapp",
I tried using “fa-2xl” doesnt seems to work
Also your code doesnt work if we change classifieds rendering to “Block (recommended) – use block templates” and set to custom page containing “Classifieds Details” block.
add_filter( "wpadverts/block/details/contact-options", function( $options, $atts, $post_id ) {
if( $post_id ) {
$phone_number = str_replace( ["+", "-", " ", "(", ")" ], "", get_post_meta( $post_id, "adverts_phone", true ) );
$post = get_post( $post_id );
$post_title = htmlentities( $post->post_title );
$url = esc_attr( sprintf( "https://wa.me/%s?text=%s", $phone_number, $post_title ) );
} else {
$url = "";
}
$options["my-contact-whatsapp"] = [
"text" => "WhatsApp",
"icon" => "fas fa-phone-alt",
"class" => "my-contact-whatsapp",
"type" => "secondary",
"order" => 1,
"options" => array(
"mobile" => "text-and-icon",
"desktop" => "text-and-icon"
),
"label" => "WhatsApp",
"is_active" => true,
"attr" => [
"onclick" => "window.location.href='$url'"
]
];
return $options;
},5, 3);Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] How to add WhatsApp button?is there anyway to change the color just for this button without affecting other default styles? because you know people already accustomed whatsapp with dark green color
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Different form for each categoryand why there’s no form list block? so it will be easier for client to select which form to use
Forum: Themes and Templates
In reply to: [Blocksy] checkout page not aligned[deleted]
Forum: Themes and Templates
In reply to: [Blocksy] checkout page not alignedok. removed
Forum: Themes and Templates
In reply to: [Spectra One] Spectra One is not production ready?it doesnt work. and i dont see its related. after follow your suggestion its still looks very bad
and see this, have you ever see cart in the middle? i never see such ui in my entire life:
will you want use this in your site?
Forum: Themes and Templates
In reply to: [OceanWP] when will [oceanwp_date] bug be fixed?@skalanter If we need to install Ocean Extra. Why you not just combine it into the theme? Its really bad for user experience. If the feature is not available then disable it without Ocean Extra. Many of us dont want to install Ocean Extra because its bloated and has too many problems (just read the reviews). But Ocean theme is awesome though.
Forum: Plugins
In reply to: [Ocean Social Sharing] show social share without ocean extra@skalanter then why it will work in every section, except ‘after content’?
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Set max number of images@gwin Isnt it just add parameter to the frontend html?
I think its not so safe, hacker just can tamper the posted data, and manually set the data.
Is there anyway to check the number of images in the backend before submit?