All Questions

0
votes
0answers
13 views

Add to total price if product is in a specific category

I have 3 categories on my site (small-cars, cars, truck) and each category has a different formula for "extra miles": small cars (1 * field) (2 * field), trucks (2.5 * field). Like the calculation ...
0
votes
0answers
18 views

My homepage is not Google indexing due to redirect issues

I don't have any posts at all in my website and I have a very limited number of pages. The problem starts with my homepage. Google is unable to index this page due to redirect issues. I have only 5 ...
0
votes
0answers
14 views

Link to a custom page without a permalink?

I am working on a custom Wordpress theme, I have the index.php setup for the Home view, I'd like to create another page to list all the blog posts, I am familiar with the loop, I just want to know how ...
0
votes
0answers
14 views

Product permalink not updating

I want to select default product permalink but not update. After update the setting the product permalink save as custom base. Any one can help me Please...
0
votes
1answer
16 views

show recently added tags to tag cloud

Is there a way to show the most recently added tags to tag cloud? Do I have to use the https://developer.wordpress.org/reference/functions/wp_tag_cloud/ thank you
0
votes
1answer
40 views

Gutenberg somehow not loading in WP 5

Earlier this week, I updated one of my dev sites to 5.0 for testing and seeing what (if anything) would need to be done on the live site. On that day, Gutenberg loaded as expected, and I also ...
1
vote
2answers
26 views

AJAX / Read More: multiple check_ajax_referer() and wp_create_nonce() not working independentely

I have multiple wp_query's on the same page. Each one of those queries has an AJAX "read more" button at the bottom. The problem I'm finding is that I can only get one to work at a time. Whichever ...
0
votes
2answers
28 views

Issues with if, else, and elseif statements

For my site, I need to have different header colors depending on the page it's on. Here's the code I have for my site that is working: <?php if ( is_single() && is_post_type('product') || ...
0
votes
2answers
24 views

How to change the color of a menu item

I want to change color to red for one menu page "Logowanie". Anyone help how I can do it ?
1
vote
1answer
64 views

How to count rows of table in the_content()

In fact, every post in custom post type contains just a table that has several different rows. Every row is important, so we want to count them by a function and I think it is possible by counting <...
0
votes
1answer
11 views

Comments stuck inside post edit, but not showing under the published posts

I recently migrated my site from blogger.com to wordpress using "blogger importer extended" plugin. Everything has been completed without issues, except this one. Many of the posts are not showing the ...
0
votes
0answers
16 views

Remove product category placeholder image (Woocomerce)

I'm trying to get rid of placeholder product category images on the shop page. Right now I'm using this code to add a .no-image class to products that don't have an image so I can style them ...
0
votes
1answer
19 views

Calculate Repeater Meta Box Input Field Values and Display Total

I have a repeater custom meta box for my custom post type. I am new to Javascript and can not figure out how to calculate the value for each repeated input field and display the total combined. I have ...
0
votes
0answers
8 views

Mail chimp doesn't work

I'm a new developer on WP from Rio. I'm trying to make Mailchimp work with my site www.manteigo.com.br (section newsletter on the Botton). It always shows an error "oops, something went wrong". ...
0
votes
0answers
12 views

Create custom design for posts loop with pagination

I need to create a simple posts loop to be shown on the homepage (Meaning - I am in "page" and not "blog" or "archive" This is what I need: Display maximum of 5 posts there will be arrows on both ...
0
votes
0answers
16 views

Opening WordPress on wordpress.example.com, while the webpage is at example.com

Is it possible to set up WordPress so that you log on on a subdomain while the webpage edited is the main domain? And if yes, how? I know about home and site URL, but all the examples to those were in ...
0
votes
1answer
18 views

How to copy user_nicename value into user_login

a hacker put value "admin" into all user_login fields. i need to copy user_nicename value into the user_login so users can login. is there a SQL command i can run to do this task in bulk, as their ...
-3
votes
0answers
16 views

advanced custom fields if field has value show main div more then 10 fields

<div class="prd-overview-list"> <h3>Quick Details</h3> <ul> <?php if( get_field('type') ): ?><li><p>Type:</p> <p><span><?...
0
votes
0answers
18 views

woocommerce wc_get_product is not fetching all the product of particular category

I have created dummy product data with fakerpress and many products were created with "future" status, so I updated the post status to "publish". I wanted to retrieve all the product of selected ...
0
votes
0answers
31 views

Woocommerce html emails are just broken - it automatically adds many “=” characters spread randomly within the code

after many hours of trying to fix this mysterious issue I decided to reach out for help. Thanks to everyone willing to aid me. When I send HTML emails from Woocommerce, those emails are received ...
0
votes
0answers
15 views

Skip login form wp-login.php when already logged in,

I have a plugin that redirects to different pages after login filtered by user role. To get user roles back on their 'custom' page when they have navigated away from it I had the idea to send them ...
0
votes
1answer
12 views

What means ?cprotect=2 on ending of url? [on hold]

I migrated from my old hosting to new. After migrating, I release that my blog does not work correctly. For e.g I can't login using standard form on wp_login.php All POST request (comments, login) ...
0
votes
0answers
22 views

Deep level variables woocommerce on add to cart page

Please advise a way or a plugin or a method to assist with building the structure below. I would like an attribute nested within another attribute nested within another attribute for a specific ...
0
votes
0answers
12 views

Groups plugin: Specific users can edit specific pages

How I can allow only specific users to edit specific pages? With code or the Groups plugin (by itthinx), Im not allowed to use another plugin. Is that possible? I ended up to this solution: ...
0
votes
0answers
13 views

Dynamic Dropdown Select Filter with Custom Taxonomy in Custom Posts

I want to create a Dynamic Dropdown Select Filter in my homepage to filter custom posts by parent and sub-categories. The maximum depth for filtering is 4 levels. My Custom taxonomies structure is ...
0
votes
1answer
14 views

advanced custom fields if field has value show main div

<?php if( get_field('packaging_details','port','lead_time') ): ?> <div class="prd-overview-list"> <h3>Packaging & Delivery</h3> <ul> <?php if( ...
0
votes
0answers
12 views

how to get the custom taxonomy of a newly published post?

I need to get the custom taxonomy id and slug of a newly published custom post. I have tried wp_get_post_terms, wp_get_terms methods and all of them returns null. They returns the values if the post ...
1
vote
2answers
55 views

Possible to stay on Version 4?

The recent security Update to WP 5.0.1 also brough an update with Version 4 to 4.9.9. I got a clients project which where build on swamp land ages ago. Every Update is Hoping nothing will happen. ...
0
votes
0answers
13 views

Wp function > Shortcode with SQL Query

I have the following problem I have a DB with information like sku/gtin, price, url, name... now I try to create a shortcode which selects the data based on one sku my Code is function ...
0
votes
2answers
12 views

Multisite has SSL certificate, but media library is still http://

Our multisite WordPress installation has a URL of https://xx.com for the main domain, and - for example, https://yy.xx.com as a subsite. We're using WP's in-built domain mapping feature. Media ...
0
votes
0answers
13 views

WPALLIMPORT- Mismatch data in images meta ( description )filed?

Im using wpallimport plugin from very long time. this is first time Im facing this issue. This all data for 1 post. Now here how i use wpallimport meta fields everything seems work good, just face ...
0
votes
1answer
17 views

Add custom attribute to product's HTML to woocommerce cart page

I'm trying to add a data-attribute to WooCommerce's cart page. The cart page populates a table with each row being a product that has been added to the cart. I'm able to add a data attribute into ...
0
votes
0answers
23 views

Gutenberg: Can't leave Classic Paragraph [on hold]

Just when I started to warm up to Gutenberg, out of a sudden the interface has changed and all text blocks in my new post have changed to classic paragraphs. Converting to blocks does not help. Can't ...
0
votes
0answers
21 views

How to isolate uploads folders in multisite

In my Wordpress multisite subdomains, a link to a file in uploads folder of a subdomain can be accessed regardless of what subdomain is in the url. For example, both: http://sub2.example.com/wp-...
0
votes
1answer
13 views

Is it Helpful to transfer all media library to another host?

I want to transfer all media library including all images to a download host and my goal is the speed of loading website improve for example my website is example.com and all images load from cdn....
0
votes
1answer
21 views

How to change url for taxonomy pages?

My Wordpress default category has 'news' category term. I created custom post type with name 'artist' and custom taxonomy named 'genre'. Now what I set in permalink section is below custom structure -...
3
votes
2answers
67 views

can not upload file .vtt on wordpress 5.0.1

I updated my site to wordpress 5.0.1, but now I can not upload file .vtt anymore. This function works properly on wordpress 4.9.8
0
votes
1answer
19 views

403 Error when using save buttons

I just installed Wordpress on my home server. Everything was working fine until a hit a save button in a plugin and got a 403 error saying I didn’t have access to ap-admin/options.php. Strangely ...
0
votes
0answers
10 views

QR code google form response through wordpress site

i created a attendance sheet by using google form for my students and that form response URL was converted into a qr code. when the the QR code was scanned google sheet will simply add that response. ...
1
vote
1answer
25 views

Changing user_nicename

user_nicename has the same value with user_login. I want to change user_nicename value only by using code snippet into functions.php or wp-config.php. Is it possible without using phpmyadmin or any ...
0
votes
1answer
16 views

I can't figure out what's wrong with this statement. $wpdb->query update

I'm trying to use the $wpdb-query method, but can't seem to get it to work. I get a 500 error when I try the following: $update_status = $wpdb->query($wpdb->prepare("UPDATE {$wpdb->prefix}...
0
votes
0answers
11 views

Advanced Custom Fields add custom fields in user meta table after user is created [on hold]

How do I create programmatically using Advanced Custom Fields Pro on a new user new entries for profile data over ACF? Getting to the point of creating a new user by a script I want to be able to ...
0
votes
2answers
26 views

Missing background image setting in admin of twenty nineteen

I have installed fresh Wordpress 5.0 with twenty nineteen theme. In admin panel for home page below colors setting a link to setting background image should be visible. See https://www.youtube.com/...
0
votes
0answers
17 views

Homepage was doubled and cannot be adjusted in Elements

Could anyone help us with a problem with WordPress website? We met with a problem that the homepage was doubled and we couldn't adjust it in Elements. We can create new items in Elements and it works ...
1
vote
0answers
17 views

Gutenberg is Adding Additional HTML Tags When Grabbing the Excerpt

I am running into an issue with Gutenberg where I want to display the excerpt of a post, even when the excerpt field isn't filled in. Usually the functionality of WordPress is when the excerpt is ...
1
vote
1answer
23 views

403 Error when text is pasted in Custom Metabox Textarea

I hope everyone is having a great day! I am creating this question as I have been stuck on this issue all day and I need some friendly advice. I have created a repeater custom metabox item for a ...
0
votes
1answer
12 views

Multiple WordPress sites with different theme and plugin sharing the same content

I want run Multiple Wordpress websites with different theme and plugin using one database where the content remains the same in all websites. 1- site.com - Main site 2- siteb.com - Should use site....
0
votes
0answers
13 views

update ACF user metas programmatically [on hold]

I use woocommerce where I have a custom hidden field on checkout page which is populated by a survey. Each user has some user metas created over ACF and I would like to add this hidden data to ACF. ...
0
votes
0answers
10 views

Display Title/Description/Caption of custom images on homepage

I want to display the Title/Description/Caption of custom images on my homepage, here is the current code in functions.php file that only displays the image: <div class="partners-logoarea"> ...
1
vote
0answers
19 views

wp_insert_post_data filter not working correctly after upgrade to Wordpress 5

I have the following code in a project. function vb_post_modified_date_update($data, $postarr) { if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return; if (!empty($...

15 30 50 per page