All Questions

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

Wordpress/Woocomerce plugin for upload/download files client & admin [closed]

new here, don't know if I'm doing this right but thought I may ask here. I tell you about the project real quick. I'm developing a WordPress and Woocomerce website where the product is to request ...
0 votes
1 answer
21 views

How To Hide URL display in bottom left on mouseover? [closed]

I am designing photography website and images on the front page when mouse hover, displaying long URL including image file name at the end etc. Is there any code to hide that? Can someone please help? ...
  • 1
0 votes
0 answers
14 views

Create bookings after subscription renewal

I want to make that after paying for the subscription renewal, bookings are created until the next payment day. First, I get the user id from the subscription and the next payment day. Next, I get ...
0 votes
0 answers
8 views

Using .htaccess to redirect /da/ to / in URL

I have removed /da/ from all URLs on my website, as i have gone from a multisite to a single site. And now i want to redirect all urls from mydomain.com/da/foobar to mydomain.com/foobar So that ...
0 votes
0 answers
12 views

wordpress database connection failed, while mysql client succeeds

I am trying to prepare a WordPress site, on my public web server, running apache2. The database host, I am trying to use, for the WordPress installation, is another server. While I can successfully ...
0 votes
0 answers
13 views

Tag page template [closed]

Is it possible to make a tag page template just like category template? Do I need a plugin for that? I just need a template to show all the posts with same tag exactly like category archive page. Im ...
  • 1
0 votes
0 answers
12 views

Apache error log lots of connection_refused

I have wordpress on a Debian 11 VPS running Apache. The error log of my wordpress has lots of php:notice Connection refused. Ex. [Thu Jan 19 07:18:05.037217 2023] [php:notice] [pid 62966] [client ip....
0 votes
0 answers
12 views

Images have dissapeared from media library and site

I manage a WordPress website for a client of mine. About a month ago she emailed me that some images are missing on the site. I have been investigating what could be the problem for a while now, and I ...
  • 1
1 vote
0 answers
11 views

How do you create a front end form that enables the editing of member-specific custom fields in WordPress?

I would greatly appreciate any help you can provide regarding the creation of a front end form to allow members to edit custom posts that I have created in their admin panel. I have successfully ...
0 votes
0 answers
16 views

Bundle with Variation [closed]

I have a product bundle with variants. There are 2 variants: Brand (samsung, iphone ....) Model (Galaxy A12, iphone 7 .....) I have the variants correctly paired and it is not possible to purchase ...
  • 1
-1 votes
0 answers
19 views

How to create custom user role without plugin?

I want to create a custom role "Story Editor" and want that role to only get access to the "Web Stories" plugin in WordPress to create stories. I'm new to WordPress and don't have ...
0 votes
0 answers
19 views

Convert a project into a plugin [closed]

I have a small carousel that I would like to implement as a WordPress plugin, however, I can't figure out how to do it. All the guides I found are giving me general info about WP functions so I have ...
-1 votes
1 answer
13 views

How to disable Right Click on a image? [closed]

I have photography website and I want to disable or prevent my images from opening in ''New Window'' by ''Right Click''. I have seen on some other photographers websites that if you RIGHT CLICK their ...
  • 1
0 votes
0 answers
12 views

Unable to log in: "Cannot serve directory www/wordpress/wp-includes/ No matching DirectoryIndex"

I was trying to log into my Wordpress website. The main website is fine, but when I access http://[domain]/admin, I get: Firefox - a blank website Brave - In-browser error message "[domain] is ...
  • 101
2 votes
1 answer
29 views

Where can I find the definitive list of core blocks in html form

I have been to GitHub, but the documentation there is not what I'm looking for. I'm looking more this: <!-- wp:post-featured-image /--> <!-- wp:post-title /--> <!-- wp:spacer {"...
  • 115
0 votes
1 answer
22 views

Many images in wp-content/uploads folder that are not in Media Library

I think my database must be out of sync, or something. I checked the wp-content/uploads folder in my Bluehost File Manager and I have many more folders and files than I see in the Media Libary. I also ...
  • 1
0 votes
0 answers
16 views

Taxonomy term template is not working

I have such a question, there is a taxonomy 'custom' for example, and it has a term 'speacial'. And I want this term to hook my custom template. For standard taxonomies, taxonomy-custom.php is ...
  • 1
3 votes
1 answer
39 views

Is there any filter or action hook to remove layout classes from appearing in my templates?

With the new WordPress 6.1 core update, my site is now having a is-layout-flow class added to the layout. Normally this wouldn't be a huge issue. However, we are using the WP API to feed the content ...
  • 141
0 votes
0 answers
15 views

I must implement a library to my plugin [closed]

can anyone help me. I must implement this library to my plugin, have anyone a idea how i could make this? Library is that: openai-client-php you can show on github i hope anyone can help me :) best ...
  • 1
1 vote
0 answers
15 views

How to replace content of a block in <InnerBlocks/> and re-render on change?

I'm building a custom block using something along the lines of: const template = [ ['core/paragraph', { placeholder: __('Choose a name.'), content: attributes.name ? attributes....
  • 337
1 vote
0 answers
44 views

How to build custom pagination with center pages

How to build custom pagination in WordPress, which display center pages. For example if there is 100 pagination pages, pagination should look like this - for active page 1: 1 2 3 49 50 51 98 99 ...
  • 11
1 vote
0 answers
9 views

How to add an ACF only for parent term?

the question here is not for the front-end, it is for the back-end. Is there any way that I can add a custom field using ACF that only displays/shows in parent term. └── Category ├── Motherboard &...
1 vote
0 answers
18 views

How to backup my plugin database [closed]

I want to know if is there any way to back up my plugin database, anything that the plugin is created inside the database such as tables and rows. I want to back it up and restore it to another site ...
  • 15
2 votes
0 answers
55 views
+50

AJAX returning blank result

I'm using ajax to filter a list. The filter works as it should most of the time, but for some queries it returns a blank result. When this happens, the error in the console is: PHP Errors in Ajax ...
0 votes
0 answers
14 views

Showing Hundreds of Variations - Slow Speed [closed]

I've had a custom plugin created to show product variations as a modal type of box which flys out from the bottom of the page when the "show colour" button is clicked, the original developer ...
0 votes
0 answers
11 views

Filter a custom post type by custom field in admin

I have a custom post type called "kunstwerken" (art). I use ACF to display the correct fields on this groups and everything works as expected. However, I would like to filter the custom post ...
1 vote
0 answers
25 views

custom taxonomy not return in the code

i tried to add custom taxonomy to custom post type named "project". this is my code: function create_project_taxonomy() { register_taxonomy( 'project_cat', '...
  • 111
0 votes
0 answers
15 views

How do I resolve the "undefined array key" error in PHP? [closed]

I have an admin email check system as part of a wordpress plugin (wordpress database) and I am trying to let it work Warning: Undefined array key 1 on line (number) Here is the code - // Check for ...
0 votes
0 answers
8 views

How to export post tags from wordpress

We want to export WordPress tags, there is no such feature in the default of WordPress wp-admin/export.php. How can we export? Are there any plugins for this?
  • 1
1 vote
0 answers
12 views

Query custom post type and group by taxonomy

I struggle a bit with my piece of code - it's main goal is to show list of custom post type (called "career") childs grouped by custom taxonomy. How it should work? A user see default list ...
0 votes
0 answers
16 views

Subscriber role cann't add comment meta using REST API

I am trying to allow students ( subscriber role ) to add a comment with a rate value on a teacher's ID, But comment is being inserted but not the meta value.So Here is what i have done I am ...
0 votes
0 answers
11 views

Forms lead to "Page not found" in Ultimate Member plugin

I use the Ultimate Member plugin to grant external members access to certain data sets, e.g. employees of their institution. There is an extra tab on the profile page of the logged-in member. All the ...
0 votes
0 answers
31 views

How to include Elementor CSS in custom php file [closed]

We have created a custom company php file with the following code: <?php /** * Single Company * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package Jobify * @since 1.0.0 ...
5 votes
1 answer
91 views
+50

Is it possible to add Custom Dashboard Widgets to Custom Admin Menu Page?

TL;DR : In simple terms, I just want to add a Dashboard Widget created by our plugin using wp_add_dashboard_widget function, to a custom Admin Menu Page created by the same plugin using add_menu_page ...
  • 1,762
0 votes
0 answers
11 views

Deprecated each() in Changelog Renderer [closed]

The Following Code gives me a Deprecated each() Error Back: private function _render_changelog_box () { $changelog = $this->_get_changelog(); if (empty($changelog)) return false; ...
0 votes
0 answers
14 views

How to create A - Z List with pictures?

I need to create an A to Z list with pictures of the players profile pictures I know there is A to Z plugins, I did do some research and the A to Z list, created links. I need something like this I ...
0 votes
1 answer
20 views

404 Error on a WordPress Website, Error disappears for a while and again appears

On website revel.pk, I am facing 404 Errors from last night. The error disappears for a while and again appears. I noticed that when the website is facing an error I just go to the permalink setting ...
  • 1
0 votes
1 answer
30 views

What is the reason to use function strings for callbacks

Throughout the WordPress documentation I see callbacks being inserted as strings instead of function variables or closures. Let me examplify that; function wpdocs_my_save_posts( $post_ID, $post, $...
  • 113
1 vote
0 answers
12 views

How to create a "Most Popular" & "Latest" TAB in Wordpress

On my gaming website, I upload videos to the website, which is on the homepage of the website. The problem is, that I need to add a "Most Popular" tab & "Latest Videos" tab, ...
0 votes
0 answers
12 views

Help with image directory issues on wordpress multisite

I've converting several existing sites to multisite with subdomains. I have converted many of my stand alone sites and all are working except one subdomain: With only one sub domain the images which ...
0 votes
0 answers
21 views

Running a function using Crown WordPress on one day a week, for example, Mondays of every week

Hello friends I am trying to write a plugin to be able to publish a post on a specific day. I need to be able to publish a specific text as a post on Mondays every week. The searches I did on the ...
0 votes
0 answers
91 views

Plugin_Upgrader not working if function is called from remote server

I am trying to update plugins from a dashboard app that will authenticate with connected sites and update plugins. To do this, I am using the following function on my connected site. <?php function ...
0 votes
0 answers
11 views

New to Wordpress Development [closed]

I design websites with wordpress using the conventional way. I want to start developing web applications using PHP and wordpress. Please advise me how to get started. I don't have any experience with ...
0 votes
0 answers
26 views

How to use a dynamic term id for the query block

I'm attempting to add a template part to a custom post type template in the site editor by creating a custom block variation for the query block that has the post type selected by default in the ...
  • 1
0 votes
0 answers
12 views

Sort posts by Date (DESC) and by ACF: active_inactive (ASC)

I am trying this but does not seems to work. I can make them work individual, but together i am not able to sort the posts by post created date and ACF field active_inactive. function ...
0 votes
0 answers
13 views

how to add this type of gallary photo number counter?

i want to show photo number in wordpress default gallery like this one https://www.filmibeat.com/photos/shubha-raksha-set-internet-on-fire-with-her-bold-hot-pics-86451.html or site like https://...
1 vote
0 answers
14 views

Definition of page load for WP-Cron?

My site is extremely low traffic for the time being. For the sake of this question, let us assume it is no traffic. I have a .php file on my server which is executed every five minutes via crontab on ...
  • 11
1 vote
1 answer
27 views

How can I specifically enqueue scripts for edit orders pages only

The problem is that enqueing script this way, I end up inadvertently targeting product pages and other pages also which use the post and post-new hook, as WordPress has many types of posts, not only ...
  • 115
0 votes
0 answers
14 views

How can I change the page title of PDFs opened from a WordPress link which use the browser's viewer?

When you open a Media page and click the link to open an attached PDF, it uses the browser's own code to generate the HTML wrapper. And the HTML title is extracted from the PDF. We have many documents ...
  • 763
0 votes
1 answer
8 views

ShipStation WooCommerce Integration error

An error occurred attempting to update orders: The remote name could not be resolved: 'www.example.com'

15 30 50 per page