All Questions
Tagged with modifications or customization
5,124 questions
0
votes
0
answers
21
views
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 ...
0
votes
0
answers
22
views
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 ...
0
votes
1
answer
21
views
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 ...
0
votes
0
answers
45
views
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 ...
0
votes
0
answers
13
views
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() ) {...
0
votes
0
answers
17
views
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 ...
0
votes
1
answer
54
views
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 ...
1
vote
0
answers
45
views
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 ...
0
votes
0
answers
18
views
Customise "Add a New Post" page
I have a very simple question to which I am sure there is a simple answer, but after hours of searching I still can't find it.
I am a professional programmer who has been developing themes and plugins ...
0
votes
0
answers
27
views
Must I rewrite the whole login form or can I jsut do a part
I want to convert the current loginform of wordpress with a custom one like this :
https://www.codingnepalweb.com/create-glassmorphism-login-form-html-css/
but now I see that the button , the remember ...
0
votes
0
answers
11
views
Capture the Selected Radio Button Value between two files in wordpress theme
$html_output .= '<div class="form-group">
<label><input type="radio" name="driver_type" value="society" checked required> ...
0
votes
0
answers
17
views
Hover Hide-Visible Additional CSS not working in Wordpress website, but shows properly in Customize window
I have used icon-box element in my Wordpress website with free version of Elementor. I wanted to show icon and title in default and keep the description hidden. On hover, I want to change the color of ...
0
votes
0
answers
18
views
Add a custom field for sorting the products in a specific category WOOCOMMERCE - Second try
Hi, mainly I need to add an "orderby filter selection" in the above dropdown menu, in WOO product category widget, based on an ACF field.
The final "OrderBy dropdown menu" content ...
0
votes
0
answers
17
views
Looking for a way to align log in form fields with background image and scale responsively
I only know basic CSS and I am not a developer. I am trying to find a way to make a custom log in form on my wordpress site where there is a specific background image (such as of a lined notebook) and ...
0
votes
1
answer
221
views
How to fix a Wordfence scan that doesn't finish?
I've used Wordfence fo my website on Worpress.org (through hostinger) and my scan yesterday showed me this message:
Error writing value for wfsd_engine (MySQLi error: [2006] MySQL server has gone away)...
0
votes
2
answers
719
views
fetch from an external api call and display results in page
I have placed my external api call inside the functions.php file in the server and I created a shortcode for the api call.
I'm familiar with React and I was expecting Wordpress to be somewhat similar.
...
0
votes
0
answers
70
views
Add a custom field for sorting the products in a specific category WOOCOMMERCE
I’d like to add a custom field for sorting the products in a specific category.
I have some products that are visible in different categories and I need that these products will be sort in different ...
0
votes
0
answers
18
views
Advanced Custom Fields in WP_Query: Clickable Text in List Format
So I have two ACF fields. A text field author_name and an url field author_link. The url field is intended to wrap around the text field to make the links clickable. The staff member would enter this ...
0
votes
0
answers
37
views
Advanced Custom Fields in WP_Query: Href Returning Empty
I'm still learning the ropes of PHP so please bear with me!
So basically I have an ACF URL field "author_link" that I want to generate on a "table of contents" page in a list ...
0
votes
0
answers
53
views
Enable Downloads on WordPress Attachment Page
I'm currently working on a WordPress site and need some help with enabling downloads for video attachments on their respective attachment pages. Since the videos are being handled in bulk, I'm using ...
0
votes
0
answers
42
views
How to get selected variation from URL?
I create my own way of displaying the list of available variants on the product page.
I display individual variants on the main page of the store so that when the customer goes to the product page, he ...
0
votes
0
answers
38
views
woocommerce, add free sample button on product page
want to add a secondary button on product page with the name "free sample". it will work just like the add to cart button but with price and quantity override.
when somebody click on "...
0
votes
0
answers
12
views
RSS Feed Customization
Is there a way to customize the output from RSS feeds from website to website? Right now, when displaying an image from a story, it chooses to show an inline photo rather than a Featured Image. Of ...
0
votes
1
answer
72
views
How to increase page title font size in twenty seventeen wordpress theme for static home page and single column option
I am using twenty seventeen word press theme. The home page is set to static page and page layout is set to one column. I want to increase the font size of the page title for static front page(or home ...
0
votes
0
answers
41
views
Display Published Posts Count for Time Period
The actual question is how to create a counter for new posts for a certain time (per hour or per day) on a Wordpress blog. So that you can place it in the site menu. Thank you very much in advance :)
...
1
vote
1
answer
47
views
Adding "Changelog" as a second tab to the auto updater custom plugin
I have this code for the auto update plugins manually from my own server:
<?php
// Take over the update check
add_filter( 'pre_set_site_transient_update_plugins', 'gb_check_for_plugin_update' );
...
0
votes
0
answers
28
views
How to create a second Super Admin or Super User via MySQL DB
I have the super user, but I use a plugin that currently does not support me where only the Super Admin can delete some data. I want to be able to create a second super admin without having to ...
0
votes
0
answers
92
views
$wp_query->found_posts; returns zero
I'm merging 2 queries using the code below and it works as I expected except for the $main_query->found_posts; returning 0.
$args = array(
'post_type' => 'carellcars',
...
1
vote
0
answers
25
views
Customize style of window alert text
I am trying to customize the text of the window alert but in front end i see this
<p class="custom-alert"><span class="custom-alert-title" style="color: red; font-...
1
vote
0
answers
21
views
How can I restrict comments on Wordpress, so only the POST AUTHOR and the user who commented can see them?
I'm after a way to hide / restrict FRONTEND comments on Wordpress posts, so that only the post Author can see them, as well as the user who posted the comment?
Eg - Bob creates a post, and Sally, ...
0
votes
1
answer
64
views
Best approach to change mobile background image and adding its class
I have extended core/group block to add different background image when its being viewed on smaller view port.
I would like to know what will be best approach to add class name here which I did in my ...
1
vote
0
answers
136
views
Block Theme: How to use a different template on front page vs paginated pages?
I'm using block themes.
I'd like the front page / home / index to show some extra blocks plus the list of blog posts. However, I want the paginated pages (e.g. /page/2) to not have these extra blocks ...
0
votes
1
answer
663
views
ACF - Tags not showing up in Custom Post Types
I have a tags taxonomy and then I've added it to my CPT, however it does not give me the option to add tags to my CPT now. How do I get it to do that?
1
vote
0
answers
11
views
Add More Featured Data Not Sending to Database
I have made one form which is two step based. also i have added feature add more. So when you add click show same filed duplicate on step two.
Problem----
When i'm trying to send data by (add more) ...
0
votes
0
answers
60
views
Can't change WordPress / WooCommerce attribute value order
I'm making a website/webstore in WordPress/WooCommerce and ran into a problem with product attributes and swatches. We sell engraving materials (layered sheets) with a lot of different colors. So I ...
0
votes
0
answers
27
views
How to move custom icons from parent theme to the child theme
I have two sets of custom font icons that from my understanding are being loaded by two php files of the theme that i am making a child theme of : admin-style.php & icons.php
admin-style.php :
<...
0
votes
0
answers
36
views
Mobile version displaying all wrong after custom theme rewrites
Apologies if this is a dumb question. I'm a total novice at this and still learning as I go.
I've been converting my site design into a WordPress custom theme using this tutorial. So far everything's ...
1
vote
1
answer
113
views
Customizing Additional CSS editor
Using an Astra Child theme, I know how to work the Additional CSS editor. I also like that fact that you can define custom classes by post or by page or by site.
It's just that I find the space for it ...
0
votes
1
answer
32
views
Taxonomy question how to add more data
Normally taxonomy has a name and a value in the template I'm using it has a name value and what they call category what I'm wondering is what function call in PHP do you use to set that category I ...
0
votes
0
answers
20
views
Add File field in WooCommerce Box office plugin
I'm using WooCommerce Box Office plugin and I want to customize this plugin according to my requirements for example I want to add another field option called 'file' so user can upload files as well ...
0
votes
1
answer
29
views
Different titles on homepage vs single based on category
For better understanding what I need, I'll give as example the image below.
As you can see, on CAT LOVERS category, I have the full title as "Basic Health & Care Tips to Keep Your Cat ...
0
votes
1
answer
21
views
BuddyPress Edit activity function good practice
I am using a custom BuddyPress edit function. However, I was told this is a bad practice and that I should use WordPress's helper function. How to correctly do this?
Here, is the code:
add_action('...
0
votes
0
answers
16
views
How to set something to added automatically to the post
I'm using the 2024 theme and just wanted to know if it has a feature which I can set something like a text to be added automatically after the first two or three paragraph of my posts.
The Astra theme ...
0
votes
2
answers
78
views
Subpage for Custom Post Type
I have a custom post type "location".
add_action("init", "register_custom_post_types");
function register_custom_post_types() {
register_post_type("location&...
0
votes
0
answers
194
views
Rewrite URL custom search query
I have this url:
mydomain.com/?s="SEARCH TERM"&categoria="WORDPRESS CATEGORY OF POSTS"&province="CUSTOM POST FIELD"&poblacion="CUSTOM POST FIELD"
...
0
votes
3
answers
259
views
Wordpress child theme widget customization - Eduma
0
I'm in a bit of a struggle at the moment so I could use some help.
The thing is, I need to fix some fields for registration in the Eduma theme Eduma theme has it's own child theme called Eduma-child,...
0
votes
0
answers
42
views
Custom post type URl Cutomization
I am creating a custom CPT where I have customized CPT URL structure of CPT, I am using the rewrite rule for this but it is conflicting This is a Lessons CPT, and I want to remove lessons from the URL ...
0
votes
1
answer
21
views
Redirections all subcategory to a new page
I would like to redirect all my subcategory toa ne page, for example
Electronics category redirected to the same page then Computers subcategory redirected to the Computers page then > component ...
0
votes
0
answers
6
views
next/previous stays within specific taxonomy term when in single post
I have created several taxonomies for my photoblog. When you click on a camera model (for example), you get to the archive page for that taxonomy term. It displays all the photos taken with that ...
0
votes
1
answer
14
views
Exceute script on publishing or updating a new custom post record
I should run a script which is executed when publishing a new or when updating an existing CPT record. How can I achieve this? Thanks