All Questions

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

Trailing Slash Issue with Wp Rocket [closed]

I have some facing issue with trailing slash (/) with wp rocket plugin at end url. I need to ignore / at last of WP url but its not removing. So, anybody have any solution or any suggestion. I already ...
0 votes
0 answers
11 views

good wordpress theme for a book catalog database? [closed]

I am fairly inexperienced with WordPress and web development in general. I am looking to build a book catalog site that should be searchable through author/title/isbn/artist/genre etc. This is going ...
0 votes
0 answers
10 views

How to update_comment_meta from checkbox in comments_custom_column?

I've added a custom column to the edit-comments.php page called "Tips". This column includes a checkbox. My question is when you click on the checkbox, how do you trigger the "...
0 votes
0 answers
10 views

I moved my WP site to a new host and now there are no Twemojis

I recently migrated my site from WP.com to another hosting provider (using the All in One WP Migration plugin) and now when I type an emoji from Mac's emoji keyboard (cmd+ctrl+space) or when I ...
0 votes
1 answer
18 views

SQL query to retrieve the number of WordPress posts with all given categories

I'm working on a WordPress blog filter function that shows all categories with posts. When the user clicks a category I want to show the number of posts at each categoryname that have the active ...
2 votes
0 answers
12 views

Text size is different in the full site editor than on the site

My WordPress theme displays correctly if I view the website in a browser. However, when I go into the "full site editor" the text size is smaller, for some reason. What I have tried so far: ...
  • 298
0 votes
0 answers
5 views

Grid problem on privew mode

I have a grid in edit mode(picture 1), but when I click on preview it looks like a list (picture 2). Where is the problem?
1 vote
1 answer
26 views

Display custom post type attached media file sizes

We have a custom post type slugged 'download' and it acts like a posts but with the different slug. (It displays content like a post). Now, We have a custom field named "videos" and ...
0 votes
0 answers
18 views

Wordpress Automated Posts Creation

I have already read the question on: Automating Page Creation and the possible suggestion, but I want to have another discussion here. So, I am having a python scraper which gets 1000s of results ...
0 votes
0 answers
16 views

Image and font support missing in editor when deploying theme remotely

So I am starting to learn Wordpress development and today I uploaded my first custom theme from my local environment to the remote hosting server. My theme installed with no issues and I was ready to ...
  • 103
0 votes
0 answers
7 views

How to successfully Interchange WPBakery Plugin from different themes [closed]

I noticed some excellent page types in a theme demo, using WPBakery 6.10. Even my theme uses same (but dissimilar in elements) Plugin. Somehow I got hold of the new theme's plugin. I deleted my cache, ...
0 votes
0 answers
15 views

How to solve DOM Issue- A large DOM will increase memory usage, [closed]

I have a site My Website 1: https://mksapk.com On the index or home page I am showing new and old posts by using Kadence theme. Once i check speed of site on pagespeed site i am facing DOM Size issue ...
0 votes
0 answers
15 views

Get attributes from last block created

Is there a way to get the attributes or clientId from a block recently created or inserted in editor? Exist any js event for that? Thanks
0 votes
1 answer
16 views

How to open site written on localhost on mobile

I am trying to open site that I have written on localhost using my mobile. After typing my ip address followed by the port number I cannot connect - ERR_CONNECTION_REFUSED. However If I do the same on ...
  • 1
0 votes
1 answer
16 views

Adding custom link text to a URLInputButton

I am trying to find/use a way of adding links within my custom blocks. Ideally this would allow me to add a custom url, or select a URL from within my Wordpress app and add some custom link text. So ...
  • 103
0 votes
0 answers
14 views

Sorting by Title for Post Archive Categories for Custom Post Type

I have a custom post type - vendors. They have a taxonomy vendor_category. I am attempting to sort the archive pages by the title (since it defaults to post date). Here is the code that I am putting ...
  • 137
0 votes
1 answer
10 views

Disabling double vertical scrollbar and horizontal scrolling?

I have a WordPress site here: www.horizonimaging.co.uk and at some unknown point a month or so ago double vertical scrollbars appeared on the site. I was able to fix this (remove the second vertical ...
0 votes
0 answers
18 views

I can't highlight/select text in the RichText components in my Gutenberg blocks

I am very new to Wordpress and I am very new to Gutenberg Blocks so please excuse my stupidity. I am using the RichText component (provided by import { useBlockProps, RichText } from '@wordpress/block-...
  • 103
0 votes
0 answers
13 views

Getting post-thumbnail hentry category-error - How can I fix

When Inspecting elements I notice that every thumbnail is showing "post type-post status-publish format-standard has-post-thumbnail hentry category-error". I am not getting any clue to deal ...
  • 17
0 votes
0 answers
11 views

How to Save Category and Delete Category in same Function

I want to edit and save a category then exactly after saving delete the same category automatically. I think I need to use the function wp_delete_category() to delete a category that is currently ...
0 votes
0 answers
11 views

Need help with conditional logic for menus

I'm trying to create conditional menus for my Wordpress site. I have 4 menus: Logged OUT desktop - 42, Logged IN desktop - 2, Logged OUT mobile - 43, Logged IN mobile - 9, I have come up with the ...
  • 1
0 votes
0 answers
22 views

Is it possible to dynamically change the "page_for_posts" option?

I'm trying to change the page_for_posts option when on specific page, the Reading Settings > Your homepage displays being set as Your latest posts. I tried the below hook, but on the specified page ...
  • 1,101
0 votes
0 answers
9 views

Limit a search box by CPT + taxonomies, in only one page

I have a specific page, in which I want the search box to show only a CPT as result. But I also want to search, as input terms, for post title, and two custom taxonomies assigned to this CPT. I tried ...
  • 1
0 votes
1 answer
23 views

Where are the full site settings stored?

When making changes in the full site editor, where are the settings actually stored? When searching for this I get a gazillion results saying the settings are stored in theme.json, but this can't be ...
  • 298
0 votes
0 answers
8 views

How to manage identical documents across several WP websites [closed]

I own several websites (10+) on wordpress. All web pages have a documents section when there are the same documents on all web pages. I'm really tired of uploading new documents to every website. How ...
0 votes
0 answers
39 views

Single custom post type page redirect to 404 page

Helo, i am trying to convert some posts to new custom post type. Then i get an error. Special at my wordpress-installation: I have categories and pages with the same slug. For example: /state/ (page) ...
0 votes
1 answer
21 views

Files showing in link but cannot be found in the upload directory

https://fleurdelys.nl/wp-content/uploads/2018/04/legle-sous-le-soleil-5-100x100.jpg I have this file that really shows up in the browser. If i check the upload directory it can noyt befound in the ...
0 votes
0 answers
8 views

open_basedir restriction in effect after migration from LAMP to WIMP

I have moved a couple of sites from cPanel hosting to a Windows server with IIS. The sites seem to run fine until a file is needed to be written or a plugin downloaded and updated then it fails. From ...
  • 1
0 votes
0 answers
18 views

Removing filters with arguments set in a class

I'm using a plugin (The Events Calendar) and I need to remove a specific filter set within plugin's class. class Hooks extends \tad_DI52_ServiceProvider { ... add_filter( 'posts_pre_query', [ $...
0 votes
0 answers
11 views

Very long initial loading (20sec)

I am witnessing an odd behavior on a website I am currently developing – and I don't really know how/ where to look for the cause of that problem. The problem only occurs after I haven't opened the ...
0 votes
0 answers
7 views

Custom customizer CSS priority

function themename_customizer_styles() { wp_enqueue_style( 'themename-customizer-css', get_template_directory_uri() . '/css/themename-customizer.css' ); } add_action( '...
  • 1,817
0 votes
0 answers
23 views

Disabling User Email Notifications for Erase Personal Data Utility

We need to make sure that whenever using the Erase Personal Data utility in WP for erasure requests, that it does not notify/email the user at any point. Really struggling to find a filter for ...
0 votes
0 answers
14 views

upload_mimes is getting ingored, how to add a new mime type?

I know, I am not the first guy having this problem, but non of the suggested solutions worked: defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); function my_custom_upload_mimes($mimes = ...
0 votes
0 answers
11 views

I am using the query block and what I want and see on the editor page is not the same with the actual results

I want my posts to be just as the first picture on a grid formation but when I save and view the page it shows otherwise.
  • 1
0 votes
1 answer
22 views

Saving meta box data from selected option's value in database is not working

I have added a organizer input filed using "select and option" tag, screenshot - https://prnt.sc/DtiJr5W178_g Here is my full code - // Callback function for Metabox <?php function ...
0 votes
1 answer
41 views

How do I add filters in Twenty-Twenty-Three without a functions.php?

The theme twenty-twenty-three does not have its functions.php. How to I add a filter? e.g. add_filter( 'simpletoc_wrapper_enabled', '__return_true' ); Is there a another way? Just adding a functions....
  • 633
0 votes
0 answers
15 views

Change "/" (slash) before page number in pagination path to "-" (hyphen)

Is it possible to change the "/" (slash) before the page number in the pagination link to "-" (hyphen)? Example: "mysite.com/category-name/page/2/" to "mysite.com/...
0 votes
0 answers
20 views

update_option with array_push adding mutiple copies

A plugin I'm working on checks if an option exists. If it does it will update that option by adding new values to the array. When I var_dump the new option value looks great, but when I check the ...
0 votes
0 answers
17 views

Wordpress enque the same script causes the setInterval not to work

So I created an idle-timeout.js that will check the user total idle time. And I loaded it with admin_enqueue_scripts then after the session timeout the user can re-login again with the popup modal so ...
0 votes
0 answers
7 views

I have a blog and want to prompt the user to select a category they like and have that select a random blog post

I'm building a website that shows the best dj sets. As a feature I want to be able to ask a visitor for an artist/genre they like, which are the same as my categories/tags. Either through a dropdown ...
0 votes
0 answers
10 views

Wordpress Menu - Adding a new dynamic element to the menu

Is there a way to add a new element to the menu selector in WP? I mean adding an element here That would refer to a php function for its output. Use case: I need to put in the language switcher of ...
  • 848
0 votes
1 answer
22 views

Loading all PHP files all the time or only when they needed in Custom Plugin Development [closed]

Should I include all my PHP files automatically or should I include a model or class when it is needed only? I used to use MVC PHP framework on which I only load needed models, helpers etc. But in ...
0 votes
0 answers
8 views

ACF WordPress Post to Edit list [closed]

Ho, Is It possibile shown in the list of field Post to Edit also the Post ID? Thanks
  • 1
0 votes
0 answers
25 views

post_type_link not working for posts without terms

I'm using following .php code for changing the permalink structure of my cpt "hilfe" to /cpt_slug/term_slug/post_link/ function change_taxonomy_slug( $args, $taxonomy ) { /*item post ...
0 votes
0 answers
8 views

How to remove a black bar in header? [closed]

My WP settings : Version de WordPress : 6.1.1 Theme : minimalistbloguer Extensions : Elementor ,Fullwidth Page Templates , IONOS Performance ,UpdraftPlus - Sauvegarde/Restauration , Visual Portfolio, ...
  • 1
0 votes
0 answers
13 views

Add button and title on submenu WordPress

I would like to add a "Back" button and menu title on the submenu but I do not know how. I am guessing to use wp_nav_menu_items() filter but I am not 100% sure how to start. Here's what I ...
  • 7
0 votes
0 answers
21 views

php 8 compability admin interface

so on php 8 on admin interface it not shows me the saved values of this code // F O N T S I Z E $val = $default['size']; if ( isset($typography_stored[...
0 votes
0 answers
16 views

How do i fix type error

i an getting an error in my react build online, even though it seems to be working fine locally. react-dom.production.min.js:189 TypeError: Cannot read properties of undefined (reading 'length') at VK ...
0 votes
0 answers
12 views

How to create multiple urls for a same page contents in wordpress

For the same page's contents in WordPress, I need to make multiple urls. Like, https://www.laundryheap.qa/doha/abu-dhalouf https://www.laundryheap.qa/doha/abu-sidra https://www.laundryheap.qa/doha/...
0 votes
2 answers
40 views

Why is my Toggle field not showing in Gutenberg?

I am adding a PluginSidebar to Gutenberg and it works until I try to add a meta field to the sidebar. Then it doesn't work. I'm not sure why though. import { registerPlugin } from "@wordpress/...
  • 157

15 30 50 per page