All Questions

0
votes
0answers
5 views

MySQL Actibity without any active visitors via Google Analytics

I am hosting a WP website on a VPS (Debian) and I noticed that my MySQL service is constantly being processed, even without any active live visitors that I can see on Google Analytics. I am aware ...
0
votes
0answers
4 views

Show the subcategory name based on current product

Hi I can display subcategory name in current product page (single product page) but it showed all the subcategory name. I just want to show subcategory name based on the product selected. I have one ...
0
votes
0answers
5 views

Using post_where filter only on main query NOT sidebard new WP_Query

I have a post where filter set up for a CPT archive page. Which works great but i have other WP_Query objects in the sidebar that dont work because the post_where filter is effecting those Objects ...
0
votes
0answers
6 views

Custom permalink structure causes 404 error on standard wp pages

I have the custom taxonomy called "area" created via the CPT UI plugin and "Custom Structure" of example.com/%area%/%postname%/ in Settings >> Permalinks. I also have below translate rules so that WP ...
0
votes
1answer
6 views

'<script>' tag is changed to '<a>' when configuring Cookie Notice

I'm using WP 5.2.2 and trying to configure a cookie notice banner. I'm using the popular Cookie Notice plugin (v1.2.46). My problem comes that when I configure the Google Analytics script (the one to ...
0
votes
1answer
13 views

Why is my site still showing insecure icon even if I have SSL certificate?

I have a Valid SSL certificate. My home page, About page, and Hire Page are insecure. I have found out my images on those pages are requesting and accessing an image from HTTP. I used Plugin, every ...
0
votes
0answers
11 views

Using functions.php to hide the `From Our Blog` in WordPress menu page

I'd like to remove the from our blog on the WordPress menu page using php. Is there any way of doing it in functions.php?
0
votes
0answers
5 views

Taxonomy Query String convert to Url

In my site, I use woocommerce and a plugin filter to combine wordpress category with custom taxonomies. If I in my sidebar filter I select one category and one custom taxonomy i have this link ...
0
votes
0answers
7 views

Does exist a product customization with optional features?

This is more like an orientation question, I don't know if doing this in WordPress is possible, there's a project where there are different types of boats, every boat has its unique features, some of ...
0
votes
1answer
10 views

Wordpress AJAX PHP(html) file that is within Wordpress Loop

I have a Wordpress AJAX call that is working in as much as it is able to get raw data from a PHP file. The AJAX is using the admin-ajax.php file. However, the PHP file I need to get is within the loop ...
0
votes
0answers
10 views

How to finish Wordpress websites faster [on hold]

Hello we are a small start-up company consists of 3 developers we develop webapps using wordpress We develop website very slow for example we developed this webapp http://zumra.start-solutions.net/ ...
0
votes
0answers
4 views

Plugin sponsorship in repository

Is there a way how to put company logo/link to my plugin in WP official repository, that sponsored my development?
0
votes
1answer
7 views

How to create interactive charts on WordPress?

I want to create a responsive website using WordPress, and the website will contain interactive charts. I am deciding on what graphing libraries (e.g. python plotly) or analytics tools (e.g. Sisense, ...
0
votes
0answers
5 views

Custom Post Permalink Change Including Parent Post

I am working on a plugin for custom posts. I need to remove the custom post slug. I used this code. function remove_cpt_slug( $post_link, $post ) { if ( 'cars' === $post->post_type &&...
0
votes
1answer
8 views

Multiple wordpress installations with same plugin folder (Apache Virtualhost)

I'm trying to use a single plugins folder for multiple websites to standardize my websites.Do you know any way to use Symlinks in WordPress? In a single shared folder send the plugins to various ...
0
votes
0answers
10 views

WooCommerce Cart Order Grouping

Is there a way I can "group" potential "orders" in my cart? I have a site, which has a sort of menu... where-in I have created a batch of items in order to build out a "mix n match" type of meal. ...
0
votes
2answers
15 views

Problem in applying active class to wordpress menu

I am learning wordpress by my own and this is the code of html template. <div class="collapse navbar-collapse" id="ftco-nav"> <ul class="navbar-nav ml-auto"> <...
0
votes
0answers
14 views

MY database error Lost connection to MySQL

Am getting this error, please help
0
votes
1answer
20 views

how to change wp upload directory to another domain directory

both main and second domain (addon domain ) are in same host i want to find a way to change upload directory to another directory that located in another domain root. default location (first location)...
0
votes
0answers
8 views

WordPress Starter Content: can't access the created posts

I'm having a big pain with starter content feature of Wordpress. At the moment I'm using the hook customize_save_after to get the posts, using the normal function I use to get posts get_posts. It's ...
0
votes
0answers
14 views

when i click all post section in wordpress dashboard

when i click all post section in wordpress dashboard it takes longer time to load or sometimes its crashes.However other section in wordpress dashboard loads quickly can u help me fix It crashes &...
0
votes
2answers
17 views

Custom post types saved as basic post

I made a custom post type filters for others post types. The slug is a concatenation like "filters-" . $custom-post-type. And the custom post type appears correctly in the menu : My problem is when ...
0
votes
0answers
4 views

Override translation, only if new translation exist

I wanna override some parts of WooCommerce from English to Swedish - but just some parts. The translations I wanna override is kind of unique to my theme so therefore I felt like the best solution ...
0
votes
0answers
10 views

Why wp_mail keep duplicating the full content (header,footer,etc)?

I'm using WP Job Manager Alerts, I want to send email when the new job listing matching with user's criticeria. I did a custom email template for sending alerts, but it's keep duplicating the full ...
0
votes
0answers
8 views

Tax exclusive if coupon applied else tax inclusive in items

I have setup taxes inclusive for all my items and filled MRP in price. But now I want to apply tax inclusive if customer didn't applied coupon i.e. buying on MRP. But when customer applies coupon I ...
0
votes
0answers
8 views

Add Product Permalink Before Order Item Meta

I am using the following code to add product permalink in woocommerce admin order page- function fpd_custom_order_item_values($_product) { $url = $_product->get_permalink(); echo '<p&...
0
votes
1answer
16 views

How to import Reusable Blocks programatically?

How to import Reusable Blocks programatically? I would supply 20 or 30 .json files with Reusable Blocks and the theme admin would be able to use them in their posts or pages. How could I import them ...
0
votes
0answers
11 views

Filter woocommerce variation attribute values based on selected date

I am trying to make a product. This product is some sort of arrangement. The product with options should look like this: Choose date Choose breakfast location Choose drink location Choose diner ...
-5
votes
0answers
16 views

how I can show post when I'm select category in visual composer custom [on hold]

<div class="container"> <div class="tab-item tab-by-category home-tab-group" id="tab_life-social" rel=""> <ul class="nav nav-tabs home-tabs" role="tablist"> ...
0
votes
0answers
22 views

ACF don't save the selected value

firstly i created a select dropdownlist using acf that dynamically populate like this: add_filter('acf/load_field/name=chef', 'my_acf_load_chef_field'); function my_acf_load_chef_field( $field ) { ...
0
votes
0answers
18 views

Custom query for custom post type not getting correct post ID

I have written a custom query here: <?php $the_query = new WP_Query( array('post_type' => 'video', 'posts_per_page' => 10, 'post_status' => 'publish') ); ?> <?php if ( $the_query-&...
0
votes
1answer
15 views

SQL query generated by WP_Query is not the same what request echoes

given this code: $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'cat' => $cat, 'orderby' => 'date', 'order' => 'DESC', ...
0
votes
1answer
13 views

How can publish my bootstrap created table ( huge amount of data) on my word-press theme?

I created a bootstrap table which is interactive with data-tables also.I use jquery too.How can i publish this table on my word-press table (code is working ).Thank you... I just want to publish ...
0
votes
0answers
9 views

Theme crashes once activated [on hold]

I need help. TIA ! I'm using MAMP PRO 5.2. The theme I purchased installed just fine but once I activated it , it crashed the wordpress, displaying the message : the site is having technical ...
0
votes
1answer
28 views

How to edit a plugin's front-end in wordpress?

I am a newbie in the wordpress development scenario, I have installed a marketplace plugin (WCFM) for my wordpress based site. Now, I saw the plugin editor which allows us to edit the plugin's php ...
0
votes
1answer
19 views

Wordpress Security tools

Hi fellow wordpress developers or Web Masters. I would like to ask what are the tools you are using to secure your wordpress websites? Also, what are you ways to prevent wordpress plugin vulnerability ...
0
votes
0answers
9 views

How to query_posts in pre_get_post using a function and comparing that to correct time

I'm having problems get my pre_get_post to work properly. Right now, it shows up properly but I'm trying to figure out how to properly set a time limit that compares a post to the current server time. ...
0
votes
0answers
19 views

How to use WordPress hooks in add new page with the Gutenberg UI?

I would like to add a custom link to the Add New Page > Page Attribute > Below or above the "Template Field". Please check my screenshot: http://prntscr.com/o3pjut Before Gutenberg, I simple used to "...
0
votes
0answers
11 views

Function to make black and white favicon

I use this function: function add_favicon() { $favicon_url = get_stylesheet_directory_uri() . '/images/icons/admin-favicon.ico'; echo '<link rel="shortcut icon" href="' . $favicon_url . '" ...
0
votes
1answer
18 views

How save ContactForm7 data in a cookie

I am developing a WordPress theme that has a custom post type called 'Insights'. Then in single-insights.php the administrator can upload a PDF file so that the user can download it by clicking on a ...
0
votes
1answer
13 views

Form using admin-post.php gives 404 after submission

I'm creating a custom form for a wordpress page, and I'm using admin-post.php as my action. However, whenever I try to submit the form, I get a 404. Below is the code which outputs the form: ...
0
votes
0answers
11 views

Youtube video autoplay is not working in mobile, I am using featured video plus to add the videos to the pages/posts

I am using featured video plus plugin to add videos to pages and posts. And it works fine. But I found a problem. For mobile and tablets the autoplay funcionality doesnt work but only for youtube ...
0
votes
1answer
12 views

Spam pages hack? [on hold]

A few days ago I noticed a few blog posts on my site that were spam and I knew I had been hacked. I did a few things in an attempt to clean the hack (Wordfence deleting unknown files, securing the ...
0
votes
0answers
11 views

Elementor Pop-up Menu Help [on hold]

I'm using Wordpress elementor for the first time and just started messing around with their pro module. The popup for a full screen menu on mobile is showing up off screen. Anyone have any ideas? ...
0
votes
0answers
14 views

Using filters to add a link to the archive headings in Woo Commerce

In Woocommerce on the content-single-product.php template page, there is a woocommerce_shop_loop_item_title_link hook. What I am attempting to do is wrap the title in an a tag. The template out of ...
0
votes
1answer
21 views

how can i display children of my parent page in one of the children page (wordpress)

I'm looking for how display the children pages of a parent page IN THE CHILDREN i can display all the children only in the parent page like this <?php $args = array( 'post_type' =>...
0
votes
0answers
17 views

Updata Metadata WP Rest API

I am trying to update a metadata I created from the front-end with a click event. { "id": 1248, . . . "metadata": { "wishlist_array": [ "" ], . . . ...
0
votes
0answers
8 views

Missing content on page, seems to have happened recently but latest revision date says June 2018

Our front office recently realized one of our pages was missing all of its content. (Theme, navbar and sidebar, are all intact.) I check the page in WordPress and it shows the latest Revision was ...
0
votes
0answers
9 views

What plugin do I need to add a slideshow to a post? [on hold]

I want to add a pinned post that includes only a slideshow of all the images in a media library. How can I do this? I tried adding a plugin but I was not allowed to add it to a post.
0
votes
1answer
16 views

How do I delete a wordpress user from giant database?

The native wordpress delete users page is unable to load for us, as we have hundreds of thousands of user accounts that it queries and loads into a drop down menu every time the page is loaded. ...

15 30 50 per page