Categories
CMS Mastering Development Wordpress

User avatar sync between two WordPress installation

I installed two WordPress site.com and site.com/blog. Two separate installations, not a multisite one! Also made the static.site.com as the media and uploads domain where all uploads are saved. I’ve managed to sync the user data by using the blog installation to use the main site’s user table thanks to this solution. https://stackoverflow.com/questions/30952936/sharing-user-on-2-wordpress-installs-in-2-sub-domains-on-same-server?rq=1 Also, I’ve […]

Categories
CMS Mastering Development Wordpress

How to insert this submit button code on the comment form?

I want to customize the submit button on the contact form. how to write this code on the comment form? I already have the $args and the fields. just need to know how to put this original code on the $args and the fields. and many thanks in advance. $comments_args = array( ‘id_form’ => ‘main-contact-form’, […]

Categories
CMS Mastering Development Wordpress

show contact form 7 in popup on button click [closed]

i have create a form using contact form 7 and now i want to show that as button click. spouse, i have Contact Us button, and while i will click to Contact Us button, it will open a popup with my created contact form 7 where i can use contact form shortcode. but i’m not […]

Categories
CMS Mastering Development Wordpress

Change background image based on the hour

I’m triying to change my row background image based on the hour of the day. I want to show an imagen from 08:00 to 18:00 and another for the night. Can anyone help me? I know that I need to use JS but I don’t know to implement it well. Thanks!

Categories
CMS Mastering Development Wordpress

How do I integrate vanilla Javascript to a wordpress website?

I am new to WordPress but I have been learning to code since February. I am helping a friend add a responsive slider to her WordPress website. I created this slider using HTML, CSS and JS and it works perfectly. However, I am having problems integrating them into WordPress. The JS code is const prev […]

Categories
CMS Mastering Development Wordpress

Retrieve taxonomy terms and use them in a loop

I have the following code which shows a list of other posts within a single post on the front-end. The $postarea is input as a custom text field in the post back-end. This works but I would like to automate it as the $postarea is the just same as the taxonomy term I select for […]

Categories
CMS Mastering Development Wordpress

SSL and icons goes missing together sometimes?

My wordpress site gets ‘not secure’ in address bar sometimes despite SSL installed. And that time icons (social media, menu etc) also gets replaced by numbers or junk character etc). plz suggest.

Categories
CMS Mastering Development Wordpress

Sending email to users from frontend

I’m looking for a code example or a simple plugin to add a reply button to users’ posts, that will activate a simple send message dialog. The message is to be sent to the user’s email. What I am using now is a mailto link which of course exposes the users email.

Categories
CMS Mastering Development Wordpress

(WP/Elementor/WPForms) how to fill form fields in an elementor popup when it opens via a button

I have created a popup with a WPforms-contact-form in it. Now i want, when the popup opens, that attributes of the button link prefill the form. I know it is possible to send link attributes on page load to a form – but it doesnt work on the popup. I need somekind of ID-data to […]

Categories
CMS Mastering Development Wordpress

Woocommerce showing featured image on hover of the product variation

I would like to ask some help regarding on my issue for my wordpress site https://unligift.com/product/test-product/ When I click product color variation to color "Green" and size "Large", the main feature image is showing when I hover the picture. The green image should be display when hovering the image Thank you so much in advance