Questions tagged [customization]
MEANINGLESS tag. Used as a merge target for other meaningless tags. Do not use it on new questions.
5,124 questions
0votes
0answers
20views
In some requests, my theme's index.php is displaying instead of my home page
I am using cloudfront for my site. Every so often, a version of my site's home page gets saved to the cache which, instead of showing the selected home page, is showing /wp-content/themes/my-theme/...
0votes
0answers
29views
Gutenberg Block Validation Failed for a custom block
I have a custom block that has been updated a couple of times now. When I try to save the post that contains the said block, it gives me the following error: Content generated by the save function: &...
0votes
1answer
28views
Remove and strip html tag values
I have imported some blog posts from an external site and there were unnecessary html tags and values I wanted to get rid of like the sizes and srcset including their values for all blog posts. It ...
3votes
3answers
62views
Cant display custom post type posts from a specific category Wordpress
I have tried to display posts of a custom post type from a category with the following codes: <?php $the_query = new WP_Query( [ 'post_type' => '...
0votes
1answer
22views
How do i get custom fontSizes and theme fontSizes?
I have a custom block where i want to get the theme fontSizes and custom fontSizes. This are the settings in the theme.json "settings": { "typography": { "...
0votes
0answers
77views
Create a uniqueId when a block is created or copied
I’ve created a custom WordPress block and would like to ensure that every time a block is newly generated or copied, it is assigned a unique ID. I’ve tried many approaches and have finally come up ...
0votes
0answers
22views
A developer set a 'standard format' for my blogposts on wordpress but i need to remove it, how?
My Wordpress site has a special 'standard format' for blogposts. However, the developer only configured properly the title and the body so any other type element I add comes out in weird colors and ...
0votes
0answers
27views
How to edit text of new user email?
On my WordPress website (6.6.2), I would like to edit the current automatic new user email template. Actually I don't want to delete the current content, but I just want to add some text. Thanks for ...
0votes
0answers
70views
How can I keep a WordPress dropdown menu open when navigating to a child page?
I'm using WordPress with the Astra theme (free version), along with Elementor Header & Footer Builder (free version) and the WP Mobile Menu (free version). I've set up a dropdown menu, but it ...
0votes
1answer
39views
How could i add username field in WooCommerce
I don't know how to add username field in registration page. There is no settings about this also. Used to be there is a setting about adding a username field but not now how could i add username ...
1vote
0answers
77views
How do I disable shortcuts in WordPress?
I've restricted the blocks users have access to using add_filter( 'allowed_block_types' and it limits the choice of blocks users can add. This can however be bypassed with shortcuts. For example with ...
0votes
0answers
14views
Querying a meta field on a custom taxonomy archive
function display_hi_vis_products_with_orange_hi_vis( $query ) { // Ensure this only runs on the front end, and only on the main query if ( ! is_admin() && $query->is_main_query() ) {...
0votes
0answers
21views
Fatal error with start_lvl and start_el in an abandoned theme
I have been unable to resolve this problem even after reading many related posts. This problem begun after updating to PHP 8. It concerns a theme that I bought many years ago and that has been ...
0votes
1answer
118views
how can add review by, edit by (Author) on wordpress site
I'm looking for guidance on adding "Reviewed by" and "Edited by Author" sections to my WordPress site. Here's details Theme: I'm using the GeneratePress theme. Purpose: I want to ...
1vote
0answers
47views
Custom Logo: why parameters are not working at all?
I'm trying to use my custom logo, uploaded from Appearance > Header. But none of the parameters I have set in my_custom_logo_setup are working. In functions.php //Add custom logo function ...