191,988
questions
0
votes
0
answers
5
views
Woocommerce 'Select Option' Popup
I am trying to add a popup modal on 'select option' button in a woocommerce website. I want my customer to click 'select option' button to see variation and add products on product pages.
But, the '...
0
votes
0
answers
13
views
I'm encountering a frustrating fatal error when using the theme on my WordPress site [duplicate]
I changed my old WordPress theme to latest version of woodmart theme but now the theme is installed but with the following fatal error:
Fatal error: Cannot redeclare _check_active_widget() (previously ...
1
vote
1
answer
22
views
How to get what the user entered in Contact Form 7 and change it before sending?
How to get what the user entered in Contact Form 7 and change it before sending? I have an input field, when the user submits the data I have to validate it and if there is anything to change, I tried ...
0
votes
2
answers
49
views
How do I fix an issue where 2 sites are live on the same domain from different hosts?
The company I work for recently decided to revamp our website which was created over 10 years ago.
We migrated our domain over from cPanel to Hostinger and began work on the new site. Everything was ...
0
votes
1
answer
28
views
What hook to use for bulk action on WooCommerce orders with HPOS [duplicate]
In Woocommerce 8.0.1 by adding the bottom code to functions.php of my theme I can add my bulk actions to Woocommerce order page:
add_filter( 'bulk_actions-edit-shop_order', '...
0
votes
1
answer
9
views
Change the title "Gallery" in Buddypress/MediaPress to "Videos & Audio"
The default heading in the menu for the photos in Buddypress is "Gallery". I'm using the MediaPress to upload Video and Audio also. I'd like "Gallery" to say "Videos & ...
0
votes
0
answers
43
views
How to add an action to a filter with an array as parameter on Wordpress?
I am not yet very familiar with the wordpress hook system.
I want to a add a SQL Query to this action
do_action( 'user_registration_after_register_user_action', self::$valid_form_data, $form_id, $...
0
votes
0
answers
16
views
Add static url slug before child post in custom post type in WordPress
Wanted hierarchy:
https://website.com/{category_name}/{parent_post_slug}/static_slug/{child_post_slug}
Examples:
https://website.com/cars/volvo/machine/volvo-1
https://website.com/motorcycle/bmw/...
1
vote
1
answer
17
views
BuddyPress/Wordpress List all groups
I've created a shortcode to list all groups. But it's not a loop, it only lists the first group created.
function list_groups_shortcode($group) {
return "<div><h2 align='center'>...
0
votes
2
answers
24
views
Assign wordpress roles upon registration
I have a buddypress theme installed that allows to handle WPJM plugin for job and resume registrations. For this latter I need the users to register as candidate or employer to control who can view ...
1
vote
1
answer
15
views
Adding ACF Block Using block.json - Displaying The Preview Hover Image
ACF support have asked that I render my blocks their preffered way... adding this;
function register_acf_blocks() {
register_block_type(__DIR__ . '/blocks/primary-thin-banner');
}
add_action('init'...
-1
votes
2
answers
48
views
How to hide a div class in woocommerce? [duplicate]
I have a woocommerce site and I'm trying to hide some elements after having identify the code with chrome developer tools
I have these elements, a pin and a green dot on each product image and I'd ...
0
votes
1
answer
39
views
Custom JS script code for a show/hide function in wordpress [closed]
I hope someone can help me. We have a embedded hubspot form on a page with a video. We want users to fill in the form before the video shows. This the JS I have for the function but its not working. ...
1
vote
1
answer
15
views
Ways to Create fixed + Dynamic URL with Elementor Shortcode or URL element
I'd like to know how may I create URLs using the MAIN URL WEBSITE (home URL) on it. For example:
https://safeweb.norton.com/report?url=\[home_url\]
I need it, for the purpose of when I migrate from ...
0
votes
0
answers
13
views
Sass cannot find stylesheet to import
I am trying to setup a WordPress theme and am using JointsWP and SASS. When compiling using Prepros I get this error:
Can't find stylesheet to import.
@import '../../vendor/foundation-sites/scss/util/...