All Questions

0
votes
0answers
2 views

how to create multiple image up-loader metabox?

how to create multiple image uploader metabox How do I make multiple image uploads with WordPress metabox
0
votes
0answers
4 views

prevent display duplicate titles on main page

I am using a automatic rss post reader on my website and there is a problem with this plugin that sometimes publish duplicate posts.I can't do anything to this plugin but at least it is better if I ...
0
votes
1answer
6 views

Updraft Backup is breaking my site and turning all URLs to 404 errors?

I was getting this weird error where all my pages would give 404, obviously a massive nightmare for SEO. I fixed it by disabling all plugins, then turned them back on and resetting permalinks by ...
0
votes
0answers
6 views

How to attach NextGen Gallery to subscriber Dashboard to allow subscriber to bulk and sort photos?

We use a theme. We do not hard code. Theme providers generally do not offer support for outside plug-ins. So we are in between rocks regarding support. Themes we have tested have all offered some ...
1
vote
1answer
8 views

Add to checkout order review additional line Woocommerce

I need add "Include" line with conditional logic to woocommerce checkout review order section. How it possible? Thank you
2
votes
0answers
15 views

What is the earliest possible hook for safely using `is_front_page`?

When a page request is made, at what point does is_front_page start working? As I recall, if you try using it too early it will always return false. My assumption is that the wp action is the first ...
1
vote
0answers
10 views

How do I flush rewrite rules

How can I flush rewrite rules after saving or updating any page? Pretty much a newbie and trying to figure out how this would work. add_action( 'save_post', 'my_save_post_function', 10, 3 ); function ...
0
votes
0answers
7 views

Creat list of tags and number of posts

How can I download to an excel file a list of all tags used with the number of post each tag is used on.
0
votes
0answers
13 views

How to remove some unused SVG from twenty seventeen?

Twenty Seventeen ads tons of SVG icons on every page. i realized 95% of these icons are from social media or random sites i'll never use. So why load them? I found a hook to remove ALL SVG but i still ...
0
votes
0answers
10 views

Wordpress mariadb - should I use Aria table type?

I've been reading about the benefits of Aria table type in MariaDB (we use mysql Ver 15.1 Distrib 5.5.60-MariaDB), which seem to be simple and fast, yet crash-proof, take on MyISAM. Which makes me ...
0
votes
0answers
15 views

Include only recents custom posts in WP rss feed

How to disable lastBuildDate for rss feed and include only the posts created recently (ex. 3 days before now)? If there is no post, let the feed be empty. I wants to show only recent posts in rss ...
0
votes
0answers
13 views

Can't add image to new post

Our website was recently updated to Wordpress 5.1.1. From this recent update we had some issues that writing posts. When we click "Add media", it shows the media modal with loading indicator and stays ...
0
votes
0answers
24 views

Subdomain multisite instances having same content

I reviewed a site with its subdomains I saw that the contents of its domains are all the same and created automatically. And apparently subdomains are made up of three English characters and three ...
0
votes
0answers
33 views

Problem with latest Woocommerce update Version 3.6.1 ( API ) [on hold]

http://localhost.com/wp-json/wc/v2/products/categories Old: [ { "id": 15, "name": "Uncategorized", "slug": "uncategorized", "parent": 0, "description": "",...
0
votes
0answers
15 views

Show Posts from Specific Category as the Picture Layout Style

I am Trying to do a layout to show posts from specific category. like that picture: i can do in query. but when client create a category and wants to display a layout like the picture. is there any ...
0
votes
0answers
9 views

how to make Wordpress DB lookup code to do “if” funcation

I have a wordpress website that using WPUM to creat accounts and mange them and a coustem plugin for memberships. When users creat an account they chose from membership plugin membership kind ( Sun - ...
-1
votes
0answers
8 views

similar looking wordpress theme [on hold]

What's an efficient way to replicate any given website to wordpress? For ex: https://raw-alignment.com/ I am not looking at writing HTML/CSS css from scratch for the page. a similar looking wp ...
0
votes
2answers
10 views

Add addtional page parameter before loading the page

the problem I got: I need to force a list view for products which are shown on a specific page only for mobile devices, for me the perfect solution would be an additional url parameter -> '&...
0
votes
0answers
5 views

WordPress, WooCommerce wp-admin BackEnd work speed of response issue

Product Uploading: Limited by uploading 1000 products per instance, if more the process is freezing. The more uploaded products a vendor has the slower new products uploading speed. Product Uploading ...
0
votes
1answer
40 views

Reason to add a name of the theme like ('menu-1' => __( 'Primary', 'twentynineteen' ),) in PHP?

Sorry for this novice question. I'd like to know why WordPress themes add their theme names many occasions in PHP files (e.g. where 'twentynineteen' is repeated below, this is from functions.php in ...
0
votes
0answers
14 views

Custom theme woocommerce product detail page template not working

I am new in WordPress development, This question already asked but that not solve my issue. I have create custom theme this my theme folder structure In my custom theme product detail page css not ...
-2
votes
0answers
22 views

Error Establishing Database Connection

Well know issue across these pages. Nonetheless, here is a rather unusual version. All was working well. Double checked on two different platforms, smartphone and Desktop. Went on a walkabout... came ...
0
votes
1answer
16 views

Woocommerce budget search

I have woo commerce setup. Now requirement is like say If I search budget lets say 5000,It should show products whose price total is 5000 (ex. one product of price 3000 & one product of prize ...
0
votes
1answer
36 views

Issue with post request to admin-post.php

I am trying to make a post request from my admin settings page for a new plugin. The following code takes me to a blank page after submit (URL is: http://192.168.1.33:3000/wptest2/wp-admin/admin-post....
0
votes
0answers
10 views

Allow in-store pickup and manual change of order status

Currently, i have customers paying deposit or full price with plugin... but pickup will occur in store... I need a woocomerce plugin that will let me easily pull up their order, let them pay ...
0
votes
0answers
17 views

Show ads after second paragraph that works with content builder

Hope you are doing very well. I have searched for many of function code to showing ads after second paragraph but all of them do not work with Thrive Architect (Thrive Architect is one of the content ...
2
votes
1answer
57 views

What's the difference between the capability remove_users and delete_users?

In the list of capabilities, I found there's both remove_users and delete_users. It's not clear to me what remove_users is supposed to do, the Codex documentation just says it was introduced in ...
0
votes
1answer
24 views

Issue echoing the site's title in Genesis child theme

I'm having an issue adding a dynamic site name/title to the footer with my Genesis theme. From their shortcode reference I've gathered that I should, I think, be able to add it in the below code in ...
0
votes
1answer
17 views

PHP Code in excerpt?

Is there a way I can add <a href="<?php the_permalink() ?>" rel="bookmark" title="Read more at: <?php the_title(); ?>"><?php the_title(); ?></a> in the excerpt manually?
-1
votes
0answers
8 views

How to add youtubeID to iframe?

How could I add iframe to this code [youtubeid] Shortcode
0
votes
1answer
22 views

How to disable TinyMce's Paste plugin from turning image URLs into embedded <img>?

TinyMCE's Paste plugin automatically turns pasted image URLs into embedded images. https://www.tiny.cloud/docs/plugins/paste/ I need to disable this behavior since I use TinyMCE in a forum on the ...
2
votes
1answer
12 views

Why would wp_schedule_single_event get delayed start?

I'm using wp_schedule_single_event to run a function in the background immediately when a logged in user visits the dashboard page. The problem I'm having is that the time between triggering and the ...
0
votes
1answer
14 views

Set “editor” role to existing user

Using the User ID of an existing user, how do I change the role to Editor? Here's what I tried: $wpdb->query("UPDATE wp_usermeta SET meta_value = 'a:1:{s:6:\"editor\";b:1;}' WHERE user_id = '$...
0
votes
1answer
13 views

Fix nested WordPress multisite resource path?

I created multisite subdomain. The root is working great, but, all images and stuff on the subdomain goes to "/sites/2/sites/2/" instead of just "/sites/2/" - How to fix this?
0
votes
0answers
6 views

Primary navigation menu with timed items from custom post type

I have created a site (livermorevalleyopera.com) for a client. I made a custom post type for events. In the primary navigation I have a top level menu item "Season Events & Tickets" and the ...
0
votes
0answers
22 views

To display the category of a specific custom post type

I apologize for my English, but I am French. In my custom search page I display the results of my custom post type and everything is good. Only, I would like to display above the custom post type the ...
0
votes
0answers
18 views

How to override WooCommerce Order Item Meta with data from Cart?

I have the following function that is overriding some of the values that are saved to the Cart and Checkout, via the YITH Bookings plugin. Essentially, I have overridden the Duration field with my own ...
-1
votes
0answers
10 views

How to repeat meta key? [on hold]

How could I repeat meta_key and rename one of them? add_action('add_meta_boxes', 'change_meta_box_titles', 999);
0
votes
0answers
13 views

How to select the parent category for child categories?

I would think if I select a child category, that the parent category would automatically be selected (with no choice to deselect the parent), but it's optional. Looking at how Wordpress sets up this ...
0
votes
0answers
17 views

Google map is not displayed in some browsers in wordpress site [on hold]

I developed a website using WordPress. I added a Google map functionality in it. I can see the map there but my client is unable to see the map. The error is maps.google.com's server IP address ...
0
votes
0answers
12 views

Wordpress Website Layout Width Changed [on hold]

I was using plesk panel for creating sub-domain and copied the sub-domain's folders into main domain folders accidentally. Afterwards main domain's layout width changed, i tried to fix it via wp panel ...
1
vote
1answer
14 views

Change the displayed shipping total in WooCommerce

I need to change shipping price programmatically: <?php $percentage = 50; $current_shipping_cost = WC()->cart->get_cart_shipping_total(); echo $current_shipping_cost * $percentage / ...
0
votes
1answer
6 views

WooCommerce registration password field not displaying

For WooCommerce registration form we only have one email field and I want to add password fields for this. I have tried to find online help but there are few support pages only for repeat password ...
0
votes
0answers
10 views

Convert any video formats to MP4 - PHP/WordPress [on hold]

As except MP4 format, browser is not supporting other formats. I have heard about FFmpeg but how it works in my localhost that doesn't know! So is there any plugins or any library available that ...
0
votes
1answer
13 views

How to have different background image based on post category

I have below piece of code in style.css file (website : https://askpuzzle.com) I am looking for option to have different background-image for different post/question category. .question-content-...
-1
votes
2answers
12 views

how to add fa fa icons customize menu using wp_nav_menu function?

how to add fa fa icons customize menu using wp_nav_menu function? wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'footer-menu', 'menu_class' => 'quick-...
0
votes
2answers
20 views

wordpress walker add class to submenu a href

I am having some troubles with my wordpress walker code. I know it's possible to add a custom css class manually via the admin menu section. But what i am trying to achieve is to get this done ...
0
votes
1answer
14 views

How can we create our own formatting style?

When we write any new post we get text formatting options like Paragraph, Heading 1,.... Heading 6 and Preformated. How can we add our own style there. For example I have below css style that I apply ...
0
votes
0answers
10 views

gallery with post category and custom fields

I'm trying to create a YouTube gallery where i use Posts to get info of the iframe and Feature image. I've built the following gallery: <?php global $post; $args = array( 'posts_per_page' => -...
2
votes
1answer
27 views

How can I calculate the total number of categories at different hierarchy levels?

I'm trying to make a category counter, but it's not really working. I want to have a common counter of all categories (1168), which I would later display. For example: 1 category is the first level 6 ...

15 30 50 per page