All Questions

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
41 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
19 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 ...
-3
votes
0answers
43 views

Error Establishing Database Connection [on hold]

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
17 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
48 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
19 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
18 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
23 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
14 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
1answer
10 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
1answer
34 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
21 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
9 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
22 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
16 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
11 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
34 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 ...
0
votes
0answers
21 views

extra comma is appearing after shortcode attribute while creating custom gutenberg block

I have created a Gutenberg block which returns shortcode in RawHtml component but while returning dynamic shortcode in edit() function it gives extra commas appending in the shortcode, can anyone ...
0
votes
0answers
12 views

Include ElementorPro css into Wordpress custom page

I have created a custom page on WordPress, I have just copied page.php and added my slug at the end of page.php so my custom page is page-my-custom-page.php. Inside my custom page I have a form with ...
0
votes
0answers
8 views

Woocommerce price based trial subscription

I want price based trial in woocommerce subscription and after that subscription plan will go on. means instead of free trail I want price based trial in woocommerce. Also i don't want sign up fee as ...
0
votes
0answers
14 views

Show categories not in gallery post format

I want to show all blog categories that aren't of type gallery. My code almost works but if I have 2 posts in the same category the category is shown twice ie: If I create a category called 'news' ...
0
votes
0answers
9 views

Disable “Tips” popups when writing new post [duplicate]

How to disable "writings tips" when creating new post? This is first tip: Welcome to the wonderful world of blocks! Click the “+” (“Add block”) button to add a new block. There are blocks ...
2
votes
1answer
17 views

Create custom tab in WordPress 5 media upload

Can someone help me create custom tab in WordPress media library. With WordPress version 4 i used to media_upload_tabs function to build that nice work. But now, in WordPress version 5 the function is ...
0
votes
0answers
9 views

Create archive from multiple taxonomies

My website https://javabgo.com has two taxonomies in job_listing post type. job_listing_category job_listing_region I want to create an archive from two taxonomies. Like this: https://javabgo.com/...
0
votes
1answer
9 views

Woocommerce new shop page

I would like to have a page like page.php to display the content of the shop page. How can i do it? I copied everything from woocommerce/archive-product.php in to page.php but nothing is beeing ...
0
votes
0answers
9 views

Display payment form outside checkout

I am currently working on a WooCommerce store that has specific requirements in regards to checking out. The process is as follows: User orders a product through regular WooCommerce checkout User ...
0
votes
1answer
12 views

Get all user meta_keys and then group users by matching values

One of the plugins I am using generates user meta from our AD. One of the keys is the user's Manager. As many users will have the same manager, I want to be able to group all users. I was trying to ...
0
votes
1answer
14 views

wp_editor not rendering the shortcode

I have created an options page and have added wp-editor input in that. While rendering the output of that, it doesn't render the output of shortcodes added into it. It just renders shortcodes as text. ...
0
votes
0answers
4 views

OMDB Api Jquery Autocomplete render problem [on hold]

I use omdb api to list the movies and used ajax inside ajax while doing this but having trouble doing rendering. What I want to do first is to list the movies with http://www.omdb.com/?s="movie-title ...
0
votes
0answers
10 views

Is this best practice for Dynamically adding items to WordPress menus?

Is there an easier way too add this functionality to the menus page, instead of using the following code? Another words a different filter/hook/action that will make it, so I don't have to write ...
0
votes
0answers
7 views

How to create a manage user page for a specific role in wordpress admin area?

I need all controls like Add/Edit/Delete and pagination as well. $user_query = new WP_User_Query( array( 'role' => 'Owner' ) );
0
votes
0answers
12 views

How to Select post parent for CPT from another post type?

I'm developing a Sports website, covering cricket football, etc. The goal is: .pk /cricket (Landing page) .pk /cricket/ipl (IPL Landing Page) .pk /cricket/ipl/year (IPL Landing Page by ...
1
vote
1answer
11 views

Add Products to user's ID Woocommerce

I have made an REST API for synchronize user's cart item to web view to android view. I have used CoCart WP plugin Here are some scenarios: If I adding product from website I can get user's cart ...
1
vote
0answers
9 views

How to bypass maintenance mode with external cron?

I'm using crontab to run a php script loaded with wp-load.php with absolute path. However, when I go to maintenance mode, the file can't run. I'm using Coming soon plugin. Is there a way to exclude ...
0
votes
0answers
10 views

hpw to remove add title from the new-post.php [duplicate]

i want to remove the add tittle from add new post. user can able to add only content, kindly help me on the same. Thanks in advance.

15 30 50 per page