All Questions

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

Dashboard error from creating custom taxonomy code

I am adding a custom taxonomy to my plugin file, however when I try to flush the permalinks in the dashboard, I am confronted with this error on it: What does this mean and how can I fix it? I have ...
0
votes
0answers
3 views

I can't seem to find the error

<html> <head> <title>Testing your Javascript skills</title> <script type="text/javascript"> function checkform { // First check whether ...
0
votes
0answers
3 views

Set product shipping classe on-the-fly at checkout with functions.php

I need a unique product because I have many possible option combinaisons, then I need to be able to set the shipping class for the product at checkout. I can't find the right filter in the woocommerce ...
0
votes
0answers
4 views

Saving an array of dynamic repeater data as post_meta

Looking for some Wordpress specific PHP help. I'm making a time sheet with employees listed and in/out for everyday of the week. I am pulling an ACF repeater row of employees from another page that ...
0
votes
0answers
8 views

How to automatically search my entire site for any content embedded using oEmbed?

How can I carry out an automatic search of all pages/posts on my site for any content embedded using oEmbed (preferably Facebook/Instagram content)? The reason I ask is because this WPBeginner post ...
0
votes
0answers
8 views

Wordpress5.5 Gravity Forms not sending email by wp_mail works [closed]

I have a Wordpress 5.5 based website and gravity forms installed. My issue is when people use my gravity forms I am not getting any email notification. I tried putting different emails in and even ...
1
vote
1answer
21 views

blocking access to all post/tag URIs via htaccess

I want to block all access to the post/tag/example-here pages on a WordPress site, but the following does not work. The .htaccess access file is being parsed. It is at the root of the site (ie the ...
1
vote
1answer
16 views

adding custom user input fields in WordPress admin dashboard gives error The link you followed has expired. Please try again

I am developing a wordpress theme for themeforest so its for commercial use and adding a custom input field of social media to the user menu in the WordPress dashboard gives error after i click Update ...
0
votes
0answers
10 views

Woocommerce Shipping Options at Checkout Page [closed]

I would like to display the shipping prices in my woocommerce checkout page in a new line under the shipping service provider. Example: FEDEX $ 12.00
0
votes
1answer
4 views

Displaying all posts from other sites on the network on one site

I have a multi-site setup as follows Main Site has no posts Site A has 1 post A Site B has 1 post B Site C has 1 post C What I'm interested in is to be able to treat the main site as an aggregation ...
0
votes
0answers
7 views

Disable wpautop on Shortcode attributes

I have a shortcode which accepts basic HTML tags as shortcode attribute. When this shortcode is used in the shortcode block i.e within <!-- wp:shortcode --> then unbalanced <p> tags are ...
0
votes
0answers
4 views

Getting access to content woocommerce via coupon code [closed]

So, after buying a coupon I need to be able to enter the coupon and access the content, what is the best way to do this?
0
votes
0answers
4 views

How to exclude a taxonomy from shop & search page wooCommerce?

In my wooCommerce shop, I've 2 taxonomy 1. Product Category 2. Services Category Shop page is showing up all products from both categories. I want to exclude products from SHOP & Search Results ...
0
votes
0answers
10 views

Hide class if another class is empty [closed]

I want to hide the contract class if the person_name is empty. SO that read more doesn't appear in the director's image box. Please help. Here is the code. <?php $cnt=0;$opn=0; foreach ($rows as $...
0
votes
1answer
13 views

How to display all posts not in a post_format

Using WP_Query() I want to display all posts -except- those with the 'image' post_format. I tried this, but it did not work. $args = array( 'relation' => 'NOT', 'tax_query' =&...
0
votes
1answer
7 views

Get multiple category names from permalink

I am trying to get category names for the ones that are available in permalink. e.g. I have the following permalink structure. abc.com/product-category/category-1/category-2/ Where as category-1 and ...
0
votes
0answers
13 views

MIME types not recognized by media library

We have several thousand MP3 files that were transferred to WP (from a dying Drupal site) via a custom script by the developer, with whom we don't have contact anymore. Wordpress, however, doesn't ...
0
votes
0answers
8 views

Display how many custom posts published in every month, current year and current custom taxonomy

i want to Display how many custom posts published in every month, current year and current custom taxonomy. Example january (20) febrary ( 10) march (33) and etc my code problem is that it ...
0
votes
1answer
25 views

Add a term to list in block editor taxonomy sidebar

I'm the author of a plugin called Radio Buttons for taxonomies which converts certain taxonomy metaboxes (in classic) and sidebars (block editor) to use Radio buttons instead of checkboxes for ...
0
votes
0answers
8 views

Removing additional content blocks from a landing page

Good morning all, Our website has, in the hero area, several images paired with text that currently slide through on a timer. These are controlled through Additional Content Sections. This website was ...
0
votes
0answers
21 views

how can I dynamically update all URLs for image buttons on a wordpress page?

I need to pass variables from the querystring and add them to the anchors on a wordpress page. How can I retrieve a list of anchors in a wordpress page and update them?
0
votes
0answers
7 views

Home Page Sections Repeating itself on the homepage [closed]

I just checked the site I was developing and found out that the home page sections repeated itself. I'm using the "Skt Activation Live" theme and Elementor Page Builder. The funny thing is ...
0
votes
0answers
11 views

Wordpress Query for CPT that only shows posts within radius of current user's geolocation

I have a CPT called medical_providers. Each medical provider has two ACF meta_fields (latitude and longitude). I want to write a wp_query to only show medical providers that are within a certain range ...
0
votes
1answer
20 views

Sort by price wpdb

I have a page on my wordpress to search for tires everything works fine but I would have liked to know how to add an extra column to sort them also by price. They can already be sorted by size and ...
0
votes
1answer
8 views

How do I stop new pages from being added to the header?

I am building https://hiresmarter.io and for some reason every new page / post is being added to the header. Do you know a way to fix this?
0
votes
0answers
7 views

Customize search bar

I am new to wordpress and have no experience at all with coding. So hopefully you can help me. What have I done: I have a wordpress website with the ASTRA child theme with elementor. Now I made a ...
0
votes
0answers
8 views

Include custom menus etc. on custom page (via wp-load)

I'm currently embedding an app on my wordpress website via a custom page (I require wp-load and then use the default template code). Looks like this: <?php require '../../../wp-load.php'; ?> &...
0
votes
0answers
13 views

What is the best job board plugin for WordPress? [closed]

I want to turn my website https://hiresmarter.io into the #1 destination for building high performing teams, culture and hiring practices. I am evaluating various job board plugins and checking in for ...
0
votes
0answers
6 views

Sticky WooCommerce tabs with scroll to top of tab [closed]

I am a rookie to Javascript and can not find the issue within my code. I have made woocommerce tabs sticky on mobile and then had the problem when tabs are sticky and you scroll down one long tab and ...
0
votes
0answers
14 views

Cannot pass value variable to WP AJAX functions

I create plugin to create wizards using jquery steps. I save all step's values into variable and using ajax to process it, then show using wp ajax function but only one variable in ajax inserted into ...
0
votes
1answer
21 views

I want to resolve Redirect Chain [closed]

Anyone who can guide me in this matter, I want to resolve the redirect chain? http://www.example.com redirect to https://www.example.com and then redirect to https://example.com. I want to redirect ...
0
votes
2answers
15 views

What is my error trying to create a new table in the database?

I tried creating the tables in different ways and I always get the same error: "Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the ...
0
votes
0answers
7 views

Order posts by hour with ACF and Timber (TWIG)

First of all I use ACF and Timber (TWIG). I'm trying to create a calendar with a classification by year, month and hour. I created a custom ACF field : event_date and an another field for start time ...
0
votes
0answers
8 views

modifying default quote block HTML output

I would like to change HTML which "qoute" block produces: instead <blockquote> <p>text</p> <cite>text</cite> </blockquote> I would like this HTML ...
0
votes
0answers
9 views

Creating custome pages structure with wordpress

I want to groupd the pages on their respective folder, let me explain. I want to put the pages relating to hotel on the folder called hotels, the url should be like domain.com/hotels when user click ...
0
votes
0answers
9 views

Order category in shop page

i have this function to order for category the shop page in woocomerce function so_27975262_product_query( $q ){ //$q->set( 'category__in', array(96,105,97) ); if( !is_product_category() ) { ...
0
votes
1answer
8 views

I want to redirect specific articles to subdomain

Hello I want to know if there's a custom rule or plugin that could help me 301 redirect specific articles on domain.com to blog.domain.com with the same slug thanks in advance
0
votes
0answers
10 views

Can't enable Custom Fields in the backend

I'm trying to enable 'Custom Fields' in the options panel of the post editor for 'Posts' using the new block editor. I've opened 'Options' in the page editor and checked on 'Custom Fields'. It tells ...
0
votes
0answers
7 views

WooCommerce replace product edit screen thumbnail

I am currently using external image sources for my products on WooCommerce. So i would like to replace the default thumbnail / image across the site. I have managed to do this everywhere with the ...
0
votes
0answers
10 views

remove_filter with function inside [duplicate]

I want to override this filter to return number 5 instead of that variable This is set in parent theme add_filter('drile_loop_product_variable_color_number', function() use ($number_color_swatch){ ...
0
votes
0answers
5 views

WordPress + Microsoft Office 365 / Azure AD plugin detected the error please share the idea to fix the issue [closed]

Am having the below error on the WordPress site while using the office365 plugin detect the following errors, Please share the knowledge to fix this issue. Plugin version: 11.12 WordPress version: 5.3....
0
votes
0answers
7 views

WooCommerce REST API, edit order rows [closed]

I have read through the entire WooCommerce rest api documentation, but i have not found anything about editing order rows on an excisting order. I want to change quantity or remove product totaly from ...
0
votes
0answers
11 views

I cannot get an Advanced Custom Field code snippet to work - and ACF support say it should work

I am trying to get the below action to display on an archive page on my site via Code Snippets: add_action( 'woocommerce_after_shop_loop', 'test_text', 42); function test_text() { the_field('...
0
votes
0answers
10 views

Woocommerce error on admin ajax search product: Unknown column '' in 'where clause' [closed]

When I want to add products to a manual order in Woocommerce, the product search returns "no matches found". I looked at the logs and I found this error seems to be culprit. I searched the ...
0
votes
0answers
10 views

Which database tables do I need to import?

So I am re-building a client's WordPress website. It's a niche news site with thousands of articles. It's so messed up that simply cloning it and applying a new custom theme won't work. The media ...
0
votes
0answers
7 views

Creating Conditional Fields in Elementor Custom Widget [closed]

How are conditional fields or field groups created in Elementor? I've not found anything in the documentation regarding conditional fields for widget development. A simple example of what I'd like to ...
0
votes
0answers
5 views

Is it possible to symlink the uploads folder to a different location on the server?

It seems there are a few posts like this one, but not exactly like this one...so here's the question. My site: /home/userfolder/public_html/ The uploads folder for wordpress is in /home/userfolder/...
1
vote
1answer
31 views

Vimeo froogaloop

Very much a newbie here, but I'm trying to use this idea to disable forward seeking in Vimeo clips embedded on a Wordpress site To my functions.php I've added function frogaloop_scripts() { ...
0
votes
0answers
6 views

Woocommerce payment based on cart value & user-roles [closed]

I'm trying to filter payment method in woocommerce. My conditions are as follows. Only Verified Customer able to use COD Minimum $15 for COD Payment I tried this code: function filter_gateways($...
0
votes
0answers
12 views

I want to reorder & filter the custom fields on the admin screen

I am using custom fields for an unpublished page to hold all kinds of data for my site. It works fine except that in the admin page, they're ordered by their meta_id when I want them in order by ...

15 30 50 per page
1
2 3 4 5
2128