All Questions

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

Show a popup message before redirect

i just wrote this functions: add_action('woocommerce_before_single_product', 'product_out_of_stock_redirect'); function product_out_of_stock_redirect(){ global $post; global $product; $...
0
votes
0answers
10 views

Maps nightmare - using WP Jobs Manager and Listify - help?

My site is www.middleeastbjj.com, This issue i'm having is with the maps. Originally i used a different directory plugin and had issues and found out as it was to do with security certificates so i ...
0
votes
1answer
23 views

Copy permalink to clipboard automatically when publish/update posts?

When a post gets published/updated, a message will be displayed which gives the permalink. Yes we can copy the permalink to clipboard manually, but I want it to be copied automatically, just like it ...
0
votes
1answer
29 views

Trouble matching strings (titles) using wp_query

I'm repairing an old site on which we match the titles of two types of posts to link them together. There is a wp_query which uses 'title' => get_the_title() to do this, but it only works some of ...
0
votes
1answer
33 views

Check if Value Exists in Database, adding row details to variables and echoing result

I am trying to create a UK Postcode checker for a clients Woocommerce shop. I have created a table in Wordpress with the cells, Postcode, Town and County. When a user enters their postcode into a ...
0
votes
0answers
6 views

After Wordpress migration, most files are not found and there is staging prefix

I attempted to migrate old Wordpress website to DigitalOcean. Steps: Create a new droplet using Wordpress on Ubuntu 18.04 Wordpress template Set it up. After dummy site is OK, I copied wp-content to ...
0
votes
0answers
9 views

allow authors/editors dashboard access with limitation

I want to allow my authors/contributors/editors to access the dashboard access without allowing them to access any plugins or any other items other than create posts and add contents. there are a ...
0
votes
0answers
16 views

MYSQL: only seem to be able add one category instead of array

I want to add posts to category called "New York" (ID 88) and also to category "USA" (ID 89) based on regex, I cannot seem to get it to add to both at once. Managed to get it working just for one. ...
0
votes
0answers
15 views

How do I mitigate replay attacks when talking about actions that shouldn't happen twice?

A nonce is supposed to first help me against CSRF and help against replay attacks is just a bonus if I "personalize" the nonce to something like pay-user-{id}, but here's the problem - if my link ...
0
votes
2answers
28 views

How to remove in-line style of Wordpress's post content only?

My previous blog author using his font-family and size on every sentence of blog post. I want apply new css rule to post but it cant overide these in-line styles. I tried searching around and found ...
0
votes
1answer
12 views

Dynamic URL with rewrite rule not working

I'm trying to update my link from this: https://dev.brunchwork.com/next-event/?eb_event_id=106098978902 To this: https://dev.brunchwork.com/next-event/[guest_name_here]/[event_id_here] Following this ...
0
votes
1answer
21 views

How do you add a table to a site?

How do you add a simple table to a Wordpress page?
0
votes
1answer
10 views

Widget not appearing in customizer

Hello I have a theme installed but on the homepage the homepage content widget section does not appear in the customizer view. I have it set on the wp-admin themes settings but when I go to the ...
0
votes
0answers
7 views

Multisite register url got 403 error

I have a Multisite wordpress installed by "subdomain" configuration. My main site and sub-sites and all of addresses works correctly Except the Registration url: http://site.example.com/wp-login....
0
votes
0answers
7 views

Woocommerce: Search by custom location

I have created an attribute for Woocommerce products which is named: Location. On Home Page I want to Put a custom search bar and a drop-down list where i can search product available to a particular ...
0
votes
0answers
5 views

Get Request: cURL error 7: couldn't connect to host

I am trying to make a GET request to a url from my wordpress installation to get the access token but I receive this error: WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [...
0
votes
0answers
7 views

google search console excluded urls [closed]

I submitted sitemap in google search console. Now in coverage it shows 190 excluded urls. Why google excludes url and how to reduce or minimize excluded urls? why google doesn't want to indexed that ...
0
votes
1answer
16 views

How to align Button on the right of the image on desktop but below the image on mobile

I am using WordPress buttons I would like to know how to align Button on the right of the image on desktop but below the image on mobile. Here is an example: https://www.verywellfit.com/best-ankle-...
0
votes
1answer
11 views

InnerBlocks with allowedBlocks not working with acf_register_block

I using the InnerBlocks tag to allow for nested blocks, within my custom block. I am trying to use the 'allowedBlocks' argument to restrict the blocks allowed to only specific ones. However, if I put ...
0
votes
0answers
7 views

how can i add a nofollow link to the author link

Install a plugin for author box. Follow links are generated automatically. How can I change the link to nofollow in the author box a). above the author's name b). above the author's profile picture
0
votes
0answers
21 views

wp-config.php not affecting my site

I just received a backup of my WP site from the developer that includes the WP files and the database .sql file. I'm trying to install it on my server, but my WP build is ignoring wp-config.php. When ...
0
votes
0answers
10 views

Cancelled orders move to Trash automatically in Woocommerce - how to disable?

I have a Wordpress 5.4.1. website, with Woocommerce 4.1.1. installed. It seems that orders which have the status "Cancelled" move to Trash automatically after one month passes (from the order date). ...
0
votes
0answers
6 views

wordpress contact form 7 not working or respond to any action on local host [closed]

this is the first time, I am using contact form 7 plugin its very basic default code and I put the short code in a field of advanced custom fields plugin. then after saving, everytime I use the form ...
0
votes
1answer
15 views

Why does my WordPress theme header menu do not work properly in mobile version? [2020] ( wp_nav_menu() question )

Wordpress Theme Issue First of all, I am running a wordpress website named TutsPie.com. I have developed my own wordpress theme from scratch. Actually, i am a noob, therefore, there may be a lot of ...
0
votes
0answers
29 views

“import declarations may only appear at top level of a module” when importing WooCommerce API node module

I have a noobie question. Please be kind. I am using this PHP function to import my custom JavaScript: public function my_load_scripts() { wp_register_script( 'custom_js_one', ...
0
votes
0answers
15 views

Merge Multisites with Shared Network Media Library

So have a multisite setup which no longer needs to be a multisite but I'm left with a bit of a mess since I used Network Media Library plugin to host images for all sites on the network. I'll try to ...
0
votes
0answers
19 views

Change class value using CSS

I would like to change "Email adress / Email" to other value. Is it possible by using CSS? Could you help me with this please? <label class="edd-label" for="edd-email"> Email ...
0
votes
1answer
18 views

Adding a second loop breaks everything

I have a page template that has the following: <?php get_template_part( 'include', 'certifications-popular' ); ?> Within this file, I have two loops. But having the second loop in there seems ...
0
votes
0answers
24 views

How to integrate a custom HTML woocommerce theme into an existing theme?

I have a Wordpress website for institutional propose (https://mikhaelangelo.com.br). But installed the WooCommerce plugin and I bought a WooCommerce theme with only HTML files and their assets. I want ...
0
votes
0answers
9 views

Rows with custom columns not well formatted after Quick Edit save

I have a custom post type "promotion" made via code put on theme file functions.php. I also added some columns to custom post type list. They seems work fine, but if I Use the quick edit to update the ...
0
votes
0answers
11 views

How to solve this issue

Showing this message " Redirecting you to "Redirecting you to https://example.com/exapmle" " after clicking on any link in my Wordpress site
0
votes
0answers
9 views

Can I use the same “About Me” text on three websites if I set two to no-index? [closed]

first time post on here. I'm aware that google doesn't want duplicate content and may penalise that when found, however, I am a standalone therapist who has three separate WordPress websites, each ...
0
votes
1answer
11 views

How to store a custom theme and update it on other installations

I have developed a custom (private) theme, I plan to use on multiple installations. I would like to have the theme installed on installation (A) and whenever there is a change made to it on (A), ...
0
votes
0answers
7 views

woocommerce swatch variations filter gallery on select

I am using Variation Swatches For WooCommerce plugin to add variation images to product colors. It's working fine for now, but the problem is that I am also showing all the product's gallery beside ...
1
vote
0answers
10 views

How to extend nav-menu-item-control data in Appearance > Customize?

I have one question as for Nav Menu Items custom fields in the Appearance > Customizer screen. Since 5.4. there are 2 new hooks: wp_nav_menu_item_custom_fields - it works for Appearance > Menus ...
0
votes
0answers
8 views

Is there a hook for posts' contents during feed generation?

I'd like to perform some string manipulation on the body of the post as each item in all of my feeds is generated. (For example, globally replace all the <blockquote tags with some <blockquote ...
0
votes
2answers
19 views

Comparison operator != not working in <select> field [closed]

Please i want to ensure only male or female is selected in the dropdown if not fail the form but my validation keeps returning false even if male or female is selected. Html <select name="gender"...
0
votes
0answers
16 views

add_menu_page not show link for custom role

I write a custom plugin, with one link for administration purpose. This is my code: add_action('admin_menu', 'tb_instructor_menu'); add_action( 'init', 'aggiungi_ruolo', 11 ); function aggiungi_ruolo(...
0
votes
0answers
11 views

How can I use a Javascript module in a wordpress post (in single posts - or a template level)

I found this post which provides some good advice to solve the issue: How can I load a javascript file that is type="module" the Wordpress way? It is not however clear to me how make it in ...
0
votes
1answer
13 views

Initials of email looks strange on Wordpress Website

My website based on wordpress platform is acting strange. To be noted, that i bought the theme, and implemented it, I am not an expert developer. The major thing I am facing is the email format, like ...
0
votes
0answers
5 views

Woocommerce product import

I am trying to import products images into wooommerce. The product title and skus already exist. while doing so i get the following error. Unable to use image "P-VascuLife-EnGS.gif". i tried to ...
0
votes
0answers
16 views

WordPress admin-ajax.php not available for subscribers/contributors

I've implemented a simple category ajax filter using admin-ajax.php that works perfectly if the user is not logged in or if the user is logged in as an administrator. For everyone else, it calls the ...
0
votes
0answers
10 views

How to create a list of items with filter/search bar?

On Wordpress, how can I create a list of items with a search bar on top like on this website? https://www.mostrecommendedbooks.com/
0
votes
0answers
9 views

How to display strikethrough text in button text (for special offer)

I'm trying to create a "Purchase for ~$20~ $1" button (using Elementor). I'm not sure how to achieve the strikethrough. Also I would like the $1 to be in bold/red. I suspect I need to dynamically ...
0
votes
0answers
8 views

Woocommerce shipstation integration issue

I have website in wordpress and using woocommerce , We are using ship-station plugin. I have query that when order is shipped from ship station, customer get email with tracking number (Order note ...
-1
votes
0answers
7 views

Wordpress pages for diferent sub categories

Can anyone please help me building one custom code. im trying to make a library with diferent sections when user loads wp page will display sub categories. For expample when user clicks on page comedy ...
0
votes
1answer
20 views

How to enqueue multiple style sheets into my child theme in wordpress (oceanwp)

I would like to import several styles sheets in my child theme (oceanWP). I succeed to do it with "@import" method but not with enqueueing scripts and styles. My child theme uses this "style.css" : ...
0
votes
0answers
10 views

Redirect Admin to whatsapp when clicking customer contact number in admin order details page [closed]

Is it possible to redirect admin to whatsapp on clicking on customers mobile number in admin order details page?
0
votes
0answers
8 views

Scheduled live streaming (video) with paid access

I'm interested in setting up a website with live streaming (video, possibly audio) where the content is pre-recorded. I would like to have a way to schedule this stream ahead of time (at regular ...
0
votes
0answers
15 views

Keep PODS data (meta table) after wp-ultimo (multisite) template switching

I have a multisite install and using wp-ultimo to manage the subsite duplication, or "template sites" as they call it. One downside to this approach is that you'd lose any edits you make when you ...

15 30 50 per page