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 .

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Wordpress Theme Installation Issues - Critical Error Message

I tried to install a new theme to a larger existing blog but keep getting this message: -- Warning: require(/home/customer/www/truck.com/public_html/wp-content/themes/autopro/inc/custom-post-types.php)...
Emily's user avatar
  • 1
0 votes
0 answers
7 views

SPF record & Contact form 7 thinks it's Spam

I recently moved name servers from Ionis to Cloudflair to take advantage of the cacheing and also their CDN. I brought over the previous DNS records. Over the weekend I had some suspicious activity ...
Anthony Bliss's user avatar
-2 votes
0 answers
12 views

I have WordPress site i need to do is creat python script that look for specific words in my Post and convert them into Links

I have WordPress websites i want to connect it with my python script i and then do search for specific words and convert them into clickable links i can do i search words though we scraping and then ...
Usman Malik's user avatar
0 votes
0 answers
7 views

Adding variations to dataLayer in WooCommerce (Add to cart event)

I'm using the code below which works great for simple products but doesn't log multiple variations when selected and added to cart. How can I modify the code so that the specific variations get pushed ...
J82's user avatar
  • 8,327
-1 votes
0 answers
17 views

unable to access php file on my wordpress website

So i created a web page where customer has to enter the PVC(Product verification code) in the given input field and hit enter to check if their PVC is authentic or not. I wrote PHP file and placed in ...
Omar Aeo's user avatar
-1 votes
0 answers
4 views

How to add different links to a button conditionaly based on the site language on wordpress elementor?

I am using elementor page builder on my wordpress site. The site is multilingual. using english and german.I'm using translatepress for that feature. There is a button on the header on my site. I want ...
Rajib Das's user avatar
0 votes
0 answers
24 views

Adding class to parent if child exists using php [closed]

All I really want to do in simple terms is: if my div#container has the child element div#sidebar, add the class .has-sidebar to the div#container. The sidebar is a div inside the container so ...
Alex Harris's user avatar
-1 votes
0 answers
8 views

"Enable categories list" in Wordpress not filtering by category

I have simple Wordpress search where I turn on "Enable categories list" parameter in Configuration panel: Customizing - Header - Search panel: I see categories in search window: But it ...
vytaute's user avatar
  • 1,310
1 vote
1 answer
15 views

Woocommerce Category Thumbnails in Loop

I'm trying to create a custom loop to display all the WooCommerce categories on my site. It should be fairly simple but I'm having issues getting hold of the category thumbnails. No matter what I do, ...
scarrott's user avatar
-1 votes
0 answers
10 views

How to get back to position after redirecting word press website or changing name of domain

I have redirected my old domain (spotifymod.com) to a new one (spotypremium.com following all guidelines google provides. Steps: I have setup the domain and hosting for new domain, and uploaded all ...
Stephenowey's user avatar
1 vote
1 answer
32 views

How to use $wpdb->prepare for dynamic value

I build a sql with dynamic value from a array. How can I use placeholder or that dymanic condition. I'm calling that function like this: get_all_results("TABLE_NAME", ["column" =&...
Karim's user avatar
  • 21
-3 votes
0 answers
9 views

extra Twitter X appear on social media follow settings wordpress>Divi [closed]

extra Twitter X appear on social media follow settings wordpress>Divi. How to remove the extra X?
Melika Davoodi's user avatar
0 votes
0 answers
14 views

Populating the "Discount" Field in Gravity Forms

I have a discount field in about 40 forms created on my site, and 10 user roles. Initially, I had to set 10 discount fields based on the current user role... But I think I should be able to do it ...
Michael's user avatar
  • 90
-3 votes
0 answers
12 views

How to add custom cities in woocommerce? [closed]

I want to add like this, State>Divition>Districts>City I try States, Cities, and Places for WooCommerce Plugin plugin but it has olny State>Districts>City. I need State>Divition>...
Bayzid Hossain's user avatar
0 votes
0 answers
18 views

How to display user input field when selecting variations on Woocommerce?

I have some variable products with the same characteristics. They are t-shirts and have 3 variations (simple / monogram / full name) so the user can selected what he wants to get printed on the tshirt....
ADbeat's user avatar
  • 1
-1 votes
0 answers
5 views

tutor lms course filter in wordpress

I am working on wordpress lms website project in which i have to develop content switcher button in which on the right side i have to display courses filter by difficulty level and on the left side ...
Usama Malik's user avatar
-1 votes
0 answers
10 views

how to set limit in numbers in contact form 7 plugin in wordpress

how I limit clients to enter between 1-249 numbers provided that client enters like 250 then show a message that you can compose numbers ebtween 1-249 not surpass with that Note : I dont need to sent ...
Rajiv Jha's user avatar
0 votes
1 answer
10 views

How to call a shortcode with ajax in WordPress to show an Elementor template?

I would like to use ajax to call a shortcode to display an Elementor template. The template shortcode is: [elementor-template id="1008"] This is the Ajax I am trying to use: jQuery.ajax({ ...
Khrys's user avatar
  • 45
-2 votes
0 answers
8 views

i have a high traffic of crawl robots what can i do to limit usage of bandwidth

I run snapchat ads in my website and I have a high traffic of crawl robots what can I do to limit usage of bandwidth in WordPress website I try word fence Plugin but is same issue ??? and I try cloud ...
Mohamed Elshorbagy's user avatar
0 votes
0 answers
8 views

Woocommerce subscriptions manual renewal

I have read this thread How to set Next Payment date in Woocommerce Subscriptions? Where A function to set a different billing date for a subscription was shown: function update_next_payment_date($...
MaZeDB's user avatar
  • 1
-2 votes
0 answers
30 views

Export only customer with name on Woocommerce

I'm using the WooCommerce Customer / Order / Coupon Export plugin. This plugin allows me to export my customers primarily; however, I'm facing difficulties because it also exports customers who have ...
Diadh's user avatar
  • 1
0 votes
0 answers
9 views

Wordpress : hooking data inserted event in custom table

In my Wordpress system, there is a custom table call : wp_testing_data_table for example In a function we used : global $wpdb; $table_name = $wpdb->prefix . "jet_testing_data_table"; $...
Diego's user avatar
  • 31
0 votes
1 answer
33 views

Product variation has a setting for "any" variations

I'm using the code below to create a variable product programmatically but the created product has a variation of "Any Badge ID". For example, I want a product variation with the badge ID ...
mewiben39's user avatar
  • 145
0 votes
1 answer
10 views

Display blog post from a specific tag in a page on WordPress 6.4?

How can I get all the blog posts tagged as say hiking and display them on a my recent hikes page in grid display? <?php $args = array( 'post_status' => 'publish', 'tag' => 'hiking' ); ...
Pawan Ranta's user avatar
0 votes
1 answer
9 views

How do i download archive with static assets to my server and replace all "https://vuu.io" links with my own using wordpress?

WHITE-LABEL STATIC ASSETS All links to static content in fax report are hardcoded to Vuu.io, but you may replace them with your own URL. In this case you'll need to download archive with static assets ...
taptap's user avatar
  • 9
-1 votes
0 answers
16 views

Can't upload media to wordpress using Python script and wordpress_xmlrpc

Pretty new to this so please keep it simple! Basically I have data I have scraped with a Python script from one URL which includes a title, description, video and images. I have another script which ...
Spaceshanty's user avatar
-2 votes
0 answers
13 views

Hide an elementor column when a jetsmart checkbox filter doesn’t have results to display via javascript

I have a four-column section in Elementor with different filters for each one. I wanted to automatically remove or hide a specific column for example, subcategories that don't have results, and the ...
Vhinz's user avatar
  • 5
0 votes
0 answers
17 views

WooCommerce cart update causes section to disappear after AJAX refresh

I'm experiencing a peculiar issue with my WooCommerce cart where the coupon section disappears after an AJAX refresh, but only under specific conditions. The problem arises when: A coupon is applied ...
Mindprint CP's user avatar
-1 votes
0 answers
17 views

Slideout menu is not working on iphones how to struggle this?

I am having some issues with my mobile slide out menu on iOS safari browser. https://blogproject.yellowproductionclub.com The button is there, and when you press it, it looks like it tries to work, ...
Nazarchyk Bogdan's user avatar
0 votes
0 answers
8 views

edit-adress button non existent wordpress [closed]

I am having a problem with the my-account/edit-adress on my wordpress website. When I press the adresses tab, it only shows the current adresses of the account, because those were the ones saved on ...
Tiago Rego's user avatar
-1 votes
0 answers
13 views

Writing a custom Bootstrap 5 nav walker for wordpress

How to create custom wordpress bootstrap 5 navwalker?? <nav class="main-menu sticky-header"> <div class="container"> <div class="main-menu-inner"...
user2561995's user avatar
-2 votes
1 answer
29 views

How do I add "/home" to the site's url

The site's actual url is "allenbrookneighbors.org". In settings/reading "your homepage display" is set to "a static page" and "Homepage:" is set to "Home&...
Bobby's user avatar
  • 133
-2 votes
0 answers
44 views

Can you add a line break above all <h2> tags? [closed]

Here's how my text looks like in my text editor - https://prnt.sc/FPDv_zIwQz2R Here's how the web page appears when previewed - https://prnt.sc/fvKit11H3Xr4 As you can see, there's no break above the ...
Trajko Dangov's user avatar
-3 votes
0 answers
18 views

In woocomerce admin product list show only one category products not by filter only default after members login [closed]

In woocomerce when various members login need to show only specific category products . I have used product listing by user role but not working According to my need. I need to access my members ...
Diya's user avatar
  • 1
-1 votes
0 answers
21 views

WP Multilang plugin

I would like to ask for advice regarding the WP Multilang plugin. Everything works smoothly, but I'm unsure how to achieve translation in the 'Page Header Settings', specifically in the 'Page Header ...
user3120717's user avatar
0 votes
1 answer
23 views

WordPress site inaccessible - "Site can't be reached" error

I am encountering a problem with my WordPress site, and I would appreciate any help in resolving it. When I try to access my site by entering the domain in the browser, or even when trying to access ...
Shibiliya Ismail's user avatar
0 votes
0 answers
14 views

Unable to change mobile browser address bar color for wp-login.php

Dears, I know this might be a little silly for majority of you but I try different options and nothing works - I added following function to my WordPress page to change mobile browser address bar and ...
sirluki's user avatar
1 vote
1 answer
39 views

Different Product Variation Price Based On User Role In WooCommerce

Scenario 7 custom roles in 2 categories are built to serve B2C clients with subscriptions and B2B distributors, which are: B2C subcription_tier1 / subcription_tier2 B2B distributor_tier1 / ...
Henry Hu's user avatar
0 votes
0 answers
11 views

Why Swiper Slider navigation (arrows) don't work correct in my WordPress website?

I use Swiper Slider on my WordPress website. All code (html, js and css) is converted to a shortcode with a code snippet plugin. Everything is working fine and the slider is fine, but there is one ...
VEK's user avatar
  • 11
0 votes
0 answers
33 views

How to avoid PHP Notice: Get cart should not be called before the wp_loaded action

I would like to do a phone OTP verfication in woocommerce checkout page only for products in "lms" category, then I create this snippets: function hkioh_is_lms_product_in_cart() { ...
kelefei's user avatar
0 votes
0 answers
13 views

woocommerce_review_order_before_payment hook not working

I want to show something on the checkout page from one of my plugins using hook. After updating to WordPress 6.4.1 it is not working, but in the previous version, it was working fine. I don't ...
FERDAUS SK's user avatar
-3 votes
1 answer
28 views

How do I get visitor email addresses who visit my website?

I have a WordPress website. We provide service with this website. When a customer visits my website I want to get their email address or contact information So that I can give them a reminder about my ...
webmk's user avatar
  • 1
0 votes
0 answers
6 views

Polylang redirect doesn't work after second visit

I have a default language with no slug, that is located at site.com, if I previously accessed the site at site.com/en or selected this language in the menu before, when I go to site.com I expect a ...
Vladyslav Spesyvets's user avatar
0 votes
1 answer
39 views

How to include .js in html from wordpress plugin?

For the life of me I cannot see why this is giving me so much trouble. Here is the setup: /src/js/myscript.js /src/views/mypage.html myplugin.php Inside of myplugin.php I am doing an include('src/...
Trinity's user avatar
  • 43
0 votes
1 answer
41 views

How to automatically assign an attribute to each variant with its taxonomy? Woocommerce

I have created code that allows you to save a CSV file from which product variants are created on the WooCommerce product editor page, and then publish the product also attribute and taxonomy, but I ...
Marcin Krupa's user avatar
0 votes
1 answer
16 views

Wordpress pagination_links not showing up at all?

I'm trying to create a pagination for past events, but I can't get it to work correctly. Following a 2017 course on Wordpress, so it might just be outdated. I have: $today = date('Ymd'); $pastEvents = ...
pyats's user avatar
  • 3
-2 votes
0 answers
17 views

Is there anyone who can solve my problem? [closed]

I have created CPT for showing trainings.On each training's discription there is a button for enrollment which redirects to a static form . But i want that training tile should pe shown on top. Like ...
Umar Hayat's user avatar
-1 votes
0 answers
22 views

can i build blog page in wordpress and rest page build with react,js (like home page, contact page, and other)

I am planning build a service based react website the problem is if I build all pages in react app and can I create A blog page in Wordpress seme domain same hosting. it possible.
Mallikarjun Mathapati's user avatar
0 votes
0 answers
11 views

When I go to the WP Admin of the Website, This kind of File Manager Shows [closed]

When I go to the WP Admin of the Website, This kind of File Manager Shows. Also other pages are showing this thing except Homepage enter image description here What should I do now My website was good ...
Ferdous Hasan Badhon's user avatar
-1 votes
0 answers
14 views

How to delete default wordpress slide in/pop up cart?

I use a plugin for my slide in shopping cart (Funnelkit), but behind the new Funnelkit cart is the old default cart. You can see the side of it and when you exit the Funnelkit cart you can see the ...
Edward Allen's user avatar

1
2 3 4 5
3838