All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

Google indexing pages that are not used

I am using wp site that was built on template downloaded from internet and uploaded demo content of theme. There are bunch of pages that I am not using. They can not be accessed from website but I see ...
Ivan Galić's user avatar
0 votes
1 answer
68 views

Can I count every article following extracted meta value?

I can show all value in certain meta key(species1 and species2) by my code below. It shows like this. $species[]contains many kinds of bird species. Crow Eagle Crane Pigeon... Now, I like to count ...
cwhiro's user avatar
  • 25
0 votes
0 answers
37 views

Include theme header and footer in custom plugin

I am working on a custom plugin. I created a custom post type inside my plugin. Now, for single posts I want to serve a custom template using my custom plugin without touching any theme file. The ...
Farhan Ali's user avatar
0 votes
1 answer
29 views

Why does customize_register only load inside of functions.php for me?

I'd like to better understand - when I place the below into my functions.php file: add_action('customize_register', 'boat_annualReport_customize_register'); function ...
Dreamyth's user avatar
0 votes
2 answers
47 views

Removing filename searches when searching attachments

My website's db is quite big. I have some 350,000 images in the media library (as well as some 350,000 posts). My wp_postmeta table has 4,580,552 rows. As a result, some queries are insanely slow and ...
Biranit Goren's user avatar
0 votes
0 answers
18 views

Woocommerce Payment Plugin with Mycred being the payment processor

some help please. I am trying to build a Woocommerce Payment Plugin with MyCred being the payment processor on another website. The mycred remote api is well configured, and I wrote the payment method ...
JoseLawrence's user avatar
0 votes
0 answers
8 views

Template adding to the page

I work for the client, made the site and now I'm editing the dashboard and I need help from you guys, I edited dashboard for the client that when they want to edit stuff, they can go on that account ...
Sone's user avatar
  • 1
0 votes
0 answers
9 views

Adding amount to cart when input field is filled

I am trying to add a custom input field to a single product template in WooCommerce, which would add a fee of $20 to the cart total if the customer inputs data in the field. I have added a custom ...
PatInParis's user avatar
0 votes
0 answers
12 views

WP-PageNavi not working on category.php

It is working in another page I created where it shows all the posts, but not in category.php, where it shows only the posts of the specified category. It only shows the first page, the second onward ...
Now Playing's user avatar
0 votes
0 answers
14 views

Best Practice for Implementing OAuth2 Callback Logic in a Dedicated Page vs. in the init Hook

I am currently developing an OAuth2 plugin where I need to implement a callback URL for handling authentication logic. Currently, I have the logic hooked into the init function, checking if the URL ...
SkyRar's user avatar
  • 202
0 votes
0 answers
12 views

My website freezes for one minute every time I publish or update a post

Every time I publish a new post or update an existing one, my website freezes for around one minute, although the post is updated shortly after I click the update button in the WordPress admin ...
Oren Harhel's user avatar
0 votes
0 answers
8 views

Is there a hook for updated image metadata upon using image editor?

When a user uploads an image, I am able to use the wp_generate_attachment_metadata hook to know about all the thumbnail locations. When I use Wordpress to Edit Image (to scale, resize, etc), I can not ...
Dave Stein's user avatar
0 votes
0 answers
16 views

Add div on query loop page change

I have a little bit of JS that is wrapping elements of a blog module in a div in order to be able to create a flexbox layout $(document).ready(function() { $(".et_pb_post").each(...
J Glasshalfpool's user avatar
0 votes
0 answers
13 views

SQL query based on two different custom field values

I have custom post type "store" that has two different custom fields: Coutry and City. When in the single country page I list all the stores in that country. What I would like to do is to ...
chaq's user avatar
  • 1
0 votes
0 answers
31 views

Function _admin_bar_bump_cb is deprecated since version 6.4.0

I am getting the following error message since 6.4.0: Function _admin_bar_bump_cb is deprecated since version 6.4.0 However I am not using _admin_bar_bump_cb in any theme/plugins. debug_backtrace() ...
RafaSashi's user avatar
  • 447
0 votes
1 answer
17 views

Check for a value in a custom query

I have a custom query to show people working in a specific division (label) in an organisation. I want to display the specific division’s name before the cards of the people are displayed. Currently I ...
Woohoo's user avatar
  • 1
0 votes
0 answers
10 views

Redirecting to Specific Page after Language Selection with GTranslate Plugin

Dear WordPress StackExchange Community, I have been using the GTranslate plugin, and I'm thrilled with its functionality. However, I am facing a challenge and would appreciate your insights. Here's ...
Mahmudur Rahman's user avatar
0 votes
0 answers
10 views

Filtering by Hard-coded WooCommerce Product Attributes

I searched everything and couldn't find an issue related to my problem. Most of our product attributes are hard coded in a way that they don't exist in Products->Attributes but are directly created ...
Nikola Donev's user avatar
0 votes
0 answers
9 views

Unwanted redirection to homepage after turning taxonomy to 'public'=>false

I have in my site (a site with Elementor, if it's matters) taxonomy 'aaa' with taxonomy term 'bbb'. When I registered this taxonomy, it was set to 'public' => true. Now I changed this setting, so ...
Avi Rec's user avatar
0 votes
0 answers
9 views

How can i show multiple post on single post wordpress, just like therichest.com or screenrant.com or hotcars.com.?

How can i Show multiple post with same categories using infinite scroll on a single post page.
Ankush Choudhary's user avatar
0 votes
0 answers
9 views

Autoresponder emails go to Spam - Junk folder

we are facing the problem that almost all the Autoresponder Emails we are sending from Nex Form by basixonline are delivered into the Spam or Junk folders of the recipients (yahoo, gmail, and others). ...
Tayyab's user avatar
  • 1
0 votes
0 answers
18 views

GCP & Wordpress: Domain redirecting to external ip instead

I have purchased domain in Godaddy and hosting in Google Cloud Platform with external ip of 34.106.155.119. It is a wordpress VM instance. I tried to point the domain name to external ip by changing A ...
Indu Priya's user avatar
0 votes
0 answers
10 views

Can I know what changes happened after using native Image Editor?

If someone uses the WP Image Editor, I want to know what edits were done. I tried out some simple sample code like this: add_filter( 'wp_save_image_editor_file', 'after_edit', 10, 5 ); function ...
Dave Stein's user avatar
0 votes
0 answers
13 views

Fresh Install - WP6 - Sorry, you are not allowed to access this page

I was able to use the if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) $_SERVER['HTTPS']='on'; commands to get around the too many redirects error. Now, I can see the site, however, ...
Anubis Blue's user avatar
0 votes
0 answers
12 views

Insert attributes names according to language with polylang programmatically

This is my problem. I try to insert in _product_attributes meta_value field the names of each language. When I print out my query, I am getting only the products in the right language, so ...
Rich's user avatar
  • 1
0 votes
0 answers
15 views

How to import product from English version to local language

I have a website in English and three other websites in Swedish, French, and Italian. I create products in English version websites and I want to copy that to these three local languages (and then ...
Sallar Rabiei's user avatar
0 votes
0 answers
22 views

How to remove default flex child margin?

I am trying to use "Row" & "Stack" and WordPress adds some class and "is-layout-flex" is one of them. It also adds a CSS where all the "is-layout-flex" ...
Manish Shah's user avatar
-2 votes
0 answers
85 views

How to retrieve blog language without any region (locale) attached?

How can you retrieve the language of a WordPress website, without the added region suffix attached to it? In other words, just get the language, without the entire locale. E.g. <html lang="en&...
Jesse Nickles's user avatar
0 votes
1 answer
134 views

Error 403 on wp-admin - Redirection to upgrade.php

One of my customers reported me an error on its website. we loaded a backup because it is a production site, however, since then, we no longer have access to wp-admin. The message I get when I go to /...
sorrow's user avatar
  • 3
0 votes
1 answer
30 views

what is the function of the view.js file?

i have made some blocks before with @wordpress/create-block now i wanted to work on a new block, and it seem there is a new file: view.js. i have searched the web and ducomentation in the handbook, ...
Ron's user avatar
  • 125
0 votes
0 answers
14 views

Utilizing Node.js for Server-Side Rendering for API Services in WordPress blogposts

I have a WP blog where each post requires a unique JS code from the server side (SSR). How can I do this? I tried creating new NodeJS on Cpanel option:- But I'm getting 404 when requesting the Server ...
M.K.Dan's user avatar
0 votes
1 answer
15 views

Will latest plugin update add also previous update?

Sorry for the silly question. A customer wants to choose if he updates the plugin or not like the following: security issues = update UI = no update But let say plugin update 1.0 is UI related ...
Emma's user avatar
  • 1
0 votes
0 answers
19 views

How can I process data in parts to prevent Fatal error: Maximum execution time of 30 seconds exceeded

In a Wordpress plugin I am trying to copy bulk posts all at once. This takes a long time for complicated posts with lots of settings and content etc , is there a way to break up the process into ...
Enjabain's user avatar
  • 101
0 votes
0 answers
12 views

WooCommerce hide product image and gallery in single product page

I am adding this code to remove product image and gallery in single product page. This works in Wordpress default theme 2021, but not in newest (22 and 23). In newest themes product image and gallery ...
Toniq's user avatar
  • 437
0 votes
0 answers
32 views

Cannot set custom taxonomies when creating post

I'm migrating some posts from another source to WordPress, specifically to a theme/plugin called Madara, which has some specific taxonomies. I'm using wp_insert_post() to create the post, everything ...
Thiago Dias's user avatar
0 votes
1 answer
35 views

Update post meta array - add new, single value

What i'm trying to do - i have meta field in post with array of user emails, i'd like to add new user email(if it's not there already) with each submission of Contact form 7. Here's what i managed to ...
Nikson's user avatar
  • 15
1 vote
1 answer
18 views

How to remove lazy-loading from first 6 images in Wordpress?

I`m optimizing site with PageSpeed test tool. How to remove lazy loading from 7 first thumbnails (featured images) in front page and categories? By default worpress lazy-loading from 4th image, but I ...
uni uni's user avatar
  • 11
0 votes
0 answers
11 views

Flushing or disabling cache on WordPress

I'm running a website on WordPress.com. It's on a subdomain (let's call it wp.domain.com) of my root domain (lets call it domain.com). The main site on the root domain has a login/logout-routine that ...
janlindso's user avatar
  • 133
0 votes
0 answers
37 views

Cannot create custom post types with a specific name

I am creating custom post types using this code function create_custom_post_type() { register_post_type('courses', array( 'labels' => array( 'name' => __('...
Waleed's user avatar
  • 1
0 votes
0 answers
13 views

How to force Cover block to use the full size image resolution

Is there anyway to force Cover block to use the full size image resolution? It changes it based on the screen dimension and some times it gets so blurry which is awful! Should I write some lines of ...
Poorya Ghorbani's user avatar
0 votes
0 answers
9 views

Replacing embedded post images from another site

I am migrating a site to a new domain which contains post with embedded images. Is there an automated way for me to get the images uploaded to my site and replace the embedded of the old domain with ...
Peter Borg's user avatar
0 votes
0 answers
10 views

How to set default product type in WooCommerce to External/Affiliate

I've been struggling to set the default product type in WooCommerce to be "External/Affiliate". I tried every line of code I found in this forum but none of them seem to be working. ...
Chris's user avatar
  • 13
0 votes
1 answer
42 views

How can I run a second wp_remote_post() based on the response of the first?

I'm using wp_remote_post() to integrate with an API that requires me to send one request after another to a REST API. (The first to create a user record, the second to add a tag to it). Using Guzzle I ...
fyrekcaz's user avatar
0 votes
0 answers
9 views

How to update WPBakery Page Builder if I have purchased it in a theme? [closed]

I have WPBkery theme builder bundled with paid theme but it cannot updated from wodpress dashboard. I Tried to update it from my wordpress dashoboard but shows me this warning ** Update failed: To ...
user avatar
0 votes
0 answers
19 views

Allow file access only via cookie

I need to have groups of PDF files on a site that are protected by different passwords, which I have solved with WPYog Documents plugin to create individual document repositories and Passster plugin ...
Pavel's user avatar
  • 1
0 votes
1 answer
9 views

Customized Divi Theme Needs more Menus

I have a customized Divi theme built by a marketing agency that I no longer partner with. My theme only supports three menus (header, secondary, and footer), which are all used; however, now my not-...
Rissa Guffey's user avatar
0 votes
1 answer
52 views

Creating a dynamic bootstrap tab menu for WordPress

I'm trying to create a dynamic bootstrap tab menu for WordPress. I showed the categories as a menu on the front page. According to the menu title, the correct loop result does not appear and I click ...
wws34's user avatar
  • 1
0 votes
2 answers
34 views

Is it possible to create a custom post type with blank page for Post List and Add Post Page only?

I would like to completely reorganize, stylize a custom post type. By default register_post_type() function add Title, editor, category and tags into add custom post from $supports argument. Can I ...
imagIne's user avatar
  • 41
1 vote
1 answer
36 views

Image editing no longer works after moving to a new server

I moved to a new EC2 server (Linux 2) and have installed everything I thought was needed. However, now when I login to the back end of my Wordpress sites, I am no longer able to "edit" (crop,...
Lee Fuller's user avatar
0 votes
0 answers
31 views

Why does using different URLs in WordPress settings cause a "Publishing failed, you are offline" error?

In the WordPress General > Settings, when we update the WordPress address and the Site address to two different URLs We're not able to update/create posts. It is throwing an error saying "...
joshwinny's user avatar

15 30 50 per page
1
3 4
5
6 7
2309