Questions tagged [wordpress]
Consider using https://wordpress.stackexchange.com . This tag is for programming-specific questions about the WordPress content management system. Off-topic questions include those about theme development, WordPress administration, management best practices, server configuration, etc. These are best asked on https://wordpress.stackexchange.com .
wordpress
192,143
questions
0
votes
0
answers
19
views
how to add value off input into table?
I have successfully added the custom taxonomy for employer tags to the employer table. However, I am currently unable to retrieve and save the values from the input field on the meta box. As of now, ...
0
votes
0
answers
3
views
Hosting Next.js on a Droplet with Existing WordPress Installation
I have a Droplet with WordPress set up and running smoothly. Now, I’d like to host a Next.js application on the same Droplet. I’ve tried various approaches but seem to be stuck. Could you provide a ...
0
votes
0
answers
9
views
search in both languages (multilingual) using search bar in wordpress
I'm using dual languages in wordpress for ecommerce website , when i'm searching - using search bar - using the opposite language i don't get any results.i need php snippet that search in database for ...
0
votes
1
answer
10
views
Can't access wordpress admin dashboard when blocking access to wp-admin and wp-login
I am having issues accessing the wordpress admin dashboard.
I created a custom login page and blocked access to wp-admin and wp-login. Everything seems to be working up until I try to open the admin ...
0
votes
0
answers
13
views
Wordpress 403 Forbidden. Cannot access to my wp website [closed]
I finished configuring my site in wordpress but at the moment when I try to access the website it returns error 403 forbidden. Additionally, a 403 Forbidden error was encountered while trying to use ...
0
votes
0
answers
9
views
fullcalendar 6.1 - WordPress posts ajax
I am using fullcalendar 6.1 and WordPress to create a calendar which integrate wp posts.
I searched on the documentation and forums to make it happen but I'm still stuck.
Can someone could help me? I ...
0
votes
2
answers
19
views
Font-awesome and hyperlinks in tables
I've added the Font-Awesome plugin to my Wordpress site.
The desired behaviour is to have a table where there is a column of links to home pages, represented by the FA "home" icon.
Each icon ...
0
votes
1
answer
28
views
I'm trying to create a search box with a<i class="fa fa-search"> icon in the search box [duplicate]
I'm trying to show WordPress search box into my website where i am trying to show an icon in the search box
<?php get_search_form(); ?>
HTML Form
<form role="search" method="...
0
votes
0
answers
46
views
How do I prevent my header from changing when the screen gets smaller?
I've installed a Wordpress theme where the menu items of the headers go onto multiple lines when the screen size gets smaller. Only when the screen gets too small, it goes to the (mobile) hamburger ...
-2
votes
0
answers
10
views
WPRocket Delay JavaScript execution works everywhere EXCEPT home page?
Enabled WPRocket Delay JavaScript execution in WordPress and it works everywhere EXCEPT home page for some reason? Checking it by going to network tab and for every page scripts are delayed just fine ...
1
vote
1
answer
27
views
Redirect guests from WooCommerce checkout to My account login and back to checkout once logged in
I use the following code (pasted in my theme functions.php file) to redirect unlogged users from checkout page to WooCommerce My Account login form:
add_action( 'template_redirect', '...
0
votes
0
answers
12
views
sending sms to dokan vendors on order processing status [duplicate]
This snippet hooks into the WooCommerce order status change event and sends an SMS to each vendor associated with the products in the order. The SMS will notify the vendor of the new order and prompt ...
0
votes
0
answers
25
views
Is there a way to tell WordPress to use a page theme as the styling of the login page?
I am needing to make a custom login page for my website but need things that are just unavailable (or not available for free) from any of the login page customization plugins. I have created a page ...
-1
votes
0
answers
23
views
How to create coupon/paywall in an Elementor Pro page for FREE [closed]
Is it possible to create a page with a coupon code form, then the selected visitors need to enter the valid coupon code I emailed to them, and if the coupon code they entered is correct, they will be ...
1
vote
1
answer
25
views
How to sort WooCommerce variable products from max variation price in a custom query
I am trying to sort WooCommerce variable products from maximum variation price (my website contains simple and variable products).
My custom query below is sorting products by price, but the issue is ...
-2
votes
0
answers
17
views
Multiple image upload of single product via export feature [closed]
I'm working on an e-commerce platform and I'm facing an issue with the product image upload functionality via the export Excel feature.
I need to upload multiple images for a single product using the ...
0
votes
0
answers
21
views
woocommerce_cart_item_price doesn't update mini cart subtotal
I am adding an array of free gift products to the cart when certain conditions are met. I have used woocommerce_cart_item_price to set the price of the products in the mini cart. However, it is adding ...
0
votes
0
answers
17
views
Filtering by Custom Taxonomy and Meta Fields in WordPress Produces Inconsistent Results
I'm building a custom WordPress theme for a job listing site, and I'm encountering an issue with filtering job listings. My site has custom post types and taxonomies for job categories and job types.
...
0
votes
0
answers
26
views
How to Completely Restore a WordPress Site from a Manual Backup
I’ve been (slowly) designing a new WordPress site locally on my Windows 11 hard drive. I’ve been using Apache and MySQL via the XAMPP Control Panel.
I keep running into a situation in which MySQL ...
0
votes
0
answers
23
views
WordPress: How can I make a submenu block the content below it?
How can I set my dropdown menu so that it covers whatever content is below it and I can still click the links? I'm creating a page with several menus stacked on top of each other, but when the ...
0
votes
0
answers
27
views
Json error: Cannot modify header information – headers already sent on Aws-bitnami
Inquiries regarding logs in the following format are probably the most common due to json errors related to WordPress.
[Thu Jul 25 13:00:50.367263 2024] [proxy_fcgi:error] [pid 26574:tid ...
0
votes
0
answers
21
views
Update product attributes via REST API woocommerce
I am trying to import product attributes that I have stored in an external database into woocommerce.
I relate the product by sku and obtain the woocommerce product id.
I try to first see if the ...
0
votes
0
answers
13
views
Wordpress & Gatsby website throwing error when pulling graphql data
I've been building brochure sites with Wordpress as a backend and Gatsby as the frontend for years - however i've not done one for a few months.
I came to build a new one last night, and I'm getting ...
0
votes
0
answers
10
views
NEW post type needed but with a taxonomy with a certain value with Advance Custom fields in wordpress
We are working on a real estate page and we need a new post type in WP that are only active listings that are ours. So far we have set up taxonomies from a previous dev and there is a property_ours ...
0
votes
0
answers
15
views
Elementor grid background - How to remove it?
I'm struggeling with my website, where i have this "grid background" (see picture).
I'm using Elementor, and i can't find any option to remove this grid.
Any suggestion ?
Thank you all
I ...
-2
votes
1
answer
38
views
Limit the number of characters / words in WooCommerce product backend [closed]
When we create a product in WooCommerce, I want to :
limit the product title to 30 characters
limit the product short description to 50 words
I found many shortcodes that limits that in the frontend,...
2
votes
0
answers
21
views
prevent change quantities on cart page
I'm using combo offer woocommerce plugin to make a bundle product with specific item number of linked products.
I had unchecked this option:
"Buyer can change the quantity of combo products?"...
0
votes
0
answers
26
views
How to set different product prices in different product variations, while using product attributes for variations in WooCommerce [closed]
In WooCommerce, this is what have done programmatically:
I Created a variable product
I have set some (non-variant) product attributes (not used for variations)
I have also set some (variant) product ...
2
votes
1
answer
18
views
Custom Low Stock availability string for WooCommerce product variations backorders allowed
I'm looking to edit the woocommerce low stock message. But only for product variations which are set to allow backorders.
The message should include the stock level, and only appear when the stock ...
0
votes
0
answers
20
views
Problem with ACF Date Range and Repeater Integration in WooCommerce
I am using ACF to create fields integrated with WooCommerce. I am struggling to manage the tour status for each period in the Week Days mode:
The tour has 2 modes: Week Days and Exact Dates.
A tour ...
-3
votes
0
answers
14
views
Script incompletely loading in WordPress [closed]
I have a script from HireTrakStar that displays available positions in my company. When you click on a position, it shows the job description along with a button for form submission. However, when you ...
-1
votes
0
answers
19
views
Wordpress updating issues and fatal error message [closed]
Here's the screenshot I received this Error message in WordPress, to be fair, it isnt my site and I was only asked to look at it for different reasons (setting up Google ads and analytics). ...
1
vote
0
answers
20
views
Watermark for custom image size in WordPress
I use a watermark code for a WordPress theme. The code works fine, but it generates a watermark for every uploaded image. How can I modify my code to not watermark some image sizes?
I have an image ...
0
votes
0
answers
12
views
How to remove repeated meta robots tag in a wordpress website?
My website is qasolvers.com is built on wordpress elementor platform. from long time i'm phasing repeated meta robots tag issue. approx 19 web pages having this issue. well meta robots tag is used for ...
0
votes
1
answer
9
views
Wordpress Customizr - Post images cropped on first load
I am running a wordpress site with Customizr theme.
When I view a post page, the image gets displayed in cropped mode on the first load - and correctly on reload.
See examples here when you click on ...
1
vote
0
answers
32
views
How can I properly set up custom rewrite rules in WordPress to handle URLs like https://example.com/single-staff/12/abc
I'm working with WordPress and have created a page called "single-staff." The URL https://example.com/single-staff works fine, but accessing https://example.com/single-staff/12/abc results ...
-1
votes
0
answers
12
views
I trying to solve Cumulative Layout Shift 0.201 from website thehostelhotel.com
I trying to solve Cumulative Layout Shift 0.201 from website thehostelhotel.com.
pagespeed.web.dev states following message.
These are the largest layout shifts observed on the page. Each table item ...
0
votes
0
answers
20
views
Dynamically changed text returns to its previous state after x time or when opening/ closing debug menu
On my elementor (pro) website I use the bandsintown wordpress plugin to show a list of upcoming events. This plugin shows the title, date, location and request a show in English. I'd like for the text ...
1
vote
1
answer
33
views
WooCommerce Products - Always ensure that SKU contains 13 digits
When we create or update a product in WooCommerce, if the SKU (_sku) field has less than 13 digits, we have to fill in zeros to always reach 13 digits.
For instance, if the field contains nothing, ...
0
votes
1
answer
56
views
Woocommerce Single product Hooks issue: Replace add to cart button
I have created a new FUNCTION for my product page.
It says WHEN _shipping_costs is empty (no digit) than change the button on "price on request".
Archive page
On the archive page you can ...
-2
votes
0
answers
34
views
How to make Contact Form 7 be able to log the user into my WordPress website? [closed]
I have created forms using Contact Form 7 for all of the forgot password, login, and registration forms and a page template for how I want these pages to look. I am needing help getting communications ...
-1
votes
0
answers
11
views
who can i add moonpay & KYC in wordpress website, i am working on the crypto website
I want to add KYC and Moon pay payment gateway, but i can't figure out how to integrate Moon pay and KYC in WordPress, i want to add https://station.veriff.com/ this KYC and Moon Pay in WordPress ...
0
votes
0
answers
23
views
Google slides iframe background color
When I embed the iframe on a WordPress Elementor page, the background color appears black.
Follow the iframe link:
<iframe src="https://docs.google.com/presentation/d/e/2PACX-...
0
votes
0
answers
25
views
Wordfence 502 Gateway Timeout on Login
I'm experiencing a 502 Gateway Timeout error during the login process of my WordPress site, specifically when Wordfence is enabled. The error log shows:
2024/07/24 11:32:51 [error] 1858364#1858364: *...
0
votes
1
answer
28
views
Wordpress cron job to check and update post_meta
Setup: I have a custom post type ('place') that have a meta field: 'highlight' (DateTime) which is the time that the highlight feature expires.
Goal: Once the highlight time has passed (expiry < ...
0
votes
0
answers
38
views
Word press wp-admin redirecting to aws lb
We've hosted word press on AWS EC2 instance (Private subnet), and it's attached to AWS application load balancer(Internet facing), then it's attached to AWS cloud front, our website is pointing to AWS ...
0
votes
0
answers
17
views
Strange error when using Frontity (React + WP)
I'm new to using Frontity and was trying to develop my first website using it.
I know how to develop using React and I know how to fetch data from my WordPress backend.
Looking at the Frontity ...
0
votes
0
answers
28
views
Element jumping around the page on Refresh when not at the top of the page (GSAP?)
I have put some GSAP code into a shortcode on a wordpress site for a client, but the first element seems to have some issues with positioning when refreshed not from the top of the page.
Demo Here
...
0
votes
0
answers
34
views
Change currency in WooCommerce orders without affecting the total
I'm making a big payment gateway for WooCommerce which has 4 sides:
first one is client side which will send data,
second side is main server which receives data and depending on some options it ...
1
vote
0
answers
16
views
Use Query search full name: first name AND last name
I needed the WP search to be able to find first name AND last name, not OR.
'John Doe' should return John Doe.
I have found something here, it has a good idea, but it cannot find "John Doe", ...