Questions tagged [customization]
MEANINGLESS tag. Used as a merge target for other meaningless tags. Do not use it on new questions.
5,080
questions
0
votes
1
answer
35
views
Conditional Logic on CF7 dropdown options
I need to create a form with two dropdowns ("Translate from" and "Translate to"), many options (Languages) inside on those dropdowns.
If someone selects any language other than &...
0
votes
2
answers
455
views
How to hide featured images of all posts falling under the same category in wordpress?
Is there any plugin or alternative method to hide featured images of all the posts falling under the same category? Please guide.
For example:
There's a website category:
abc.net/category/fruits
Under ...
0
votes
1
answer
21
views
Why won't this submenu page show? - My First WordPress Plugin
Starting to build my first plugin and I'm completely puzzled on why the submenu page won't show? The main page shows up, not the subpage.
I've run over the syntax what feels like a million times and I ...
1
vote
1
answer
254
views
How can I remove the main description text box in a Woocommerce product editor page? I only use the "Product short description" text box [closed]
The main description text box which shows up right below the Woocommerce product title seems to not be able to be disabled within the Screen Options dropdown menu. It also can't be moved around, ...
0
votes
2
answers
125
views
Extend Wordpress Core Classes in OOP Theme?
What is the best way of using WordPress's core classes in the context of an object-oriented design?
I am trying to use $wp_admin_bar to remove a couple of the default WordPress designs but I am not ...
0
votes
0
answers
99
views
How can I add diffrent editable text fields?
I am new to Wordpress development and created my own theme in php.
My problem is, that I don´t realy know how to achieve the following:
The website has diffrent areas, where custom text shall appear.
...
0
votes
2
answers
395
views
Add link to php field text on wordpress form
I have bought a wordpress template but the developers say they cannot help me with what I need.
The theme has a hotel reservation system integrated, and the form brings a field to “place” the user ...
0
votes
0
answers
54
views
Validate user login in php
Hey guys so I made a custom API for my wordpress site and i need to check if the username and passord is correct. I did it with the following code but its not working since it always returns "...
0
votes
0
answers
183
views
How to get Previous Visited Page Information
I want to Change for Customized my Contact Form based on Previous URL Visited or We ca say I want to Dynamically Change the Values of Contact Form based on Previous URL Visited.
So I had searched and ...
0
votes
1
answer
22
views
How to insert data into meta box from another plugin?
I have two different plugins. My custom-post-type is on the first plugin and it has some meta boxes. Now in the second plugin, I extracted the email using IMAP and stored it in the post type of the ...
0
votes
1
answer
299
views
Global theme customization multisite
I want to be able to customize my theme from any of my sites (mainsite or any subsite) and have that change impact on the entire network.
Right now when I customize, i.e., my main site it doesn't ...
0
votes
1
answer
58
views
How to add Custom Css within the Editor?
I've been struggling for a while with this one.
I am trying to target an element within a column or block, in this case the 'Submit' button of a WPForm.
So I open the developer tools in Firefox, ...
0
votes
1
answer
40
views
optimal taxonomy or custom post types
hi everyone on this community,
i've been researching this but everytime i think i'm getting somewhere, i hit a dead end and have to start again; so i thought i'd reach out to this community for some ...
0
votes
1
answer
971
views
How can I check that the acf field value is not a duplicate when adding a post?
I have a field in which I add the name of the record in the original language. And I translate the title into another language. When adding a new record, I need to check this field for duplication in ...
0
votes
1
answer
36
views
Wp-query Order By problem
I'm trying to sort a query according to the order they write it in but it takes an order by ID.
The variable $idpaginas prints: 20659,20626,20585,20616,18464,19748,19991,18520,20588,21268,18753,20556,...
0
votes
0
answers
30
views
Why is my custom post content only viewable when signed into Wordpress?
I've created a custom Post type called 'Data' to display content on a Wordpress site. The content works and is displayed if viewed when signed into Wordpress. Howevever, if you view the same URL when ...
0
votes
0
answers
804
views
Removing "There is no account with that username or email address." error message in "/wp-login.php?action=lostpassword"
Would like to find out if there is any way I could customize the wp_login page to remove the "There is no account with that username or email address." validation (show below)
and any email/...
0
votes
1
answer
78
views
Shop page custom buttons which is visible to only administrator
I created two custom button in woocommerce shop page for every products, and i'm trying to do visible this two buttons only for administrator when he/she login as an administrator.
add_action( '...
0
votes
1
answer
60
views
How do I add nopin="nopin" to the default avatar?
I noticed that if someone clicks on my Pinterest share button on a blog post, several unrelated images show up. I was able to use nopin="nopin" per Pinterest's documentation on most of these ...
0
votes
1
answer
460
views
Applying WP-cli Search & Replace to Static SQL Dump File
I have a wp db dump file inside my site directory. Can someone show me an example of how to use wp-cli search and replace command on the static sql file, not the active db to change my url from "...
0
votes
1
answer
293
views
Custom field not editable by the user
I have a custom field. The field is visible and editable by the user, moreover I also view it in the user table on the administrator side.
If I want to make this field uneditable for the user (but ...
0
votes
0
answers
20
views
Make only in user profile field email not required [duplicate]
I managed to realize the possibility to create the user without the obligation of email, but when the user tries to customize the profile (edit of the website field for example), the change is not ...
0
votes
0
answers
71
views
Will WordPress updates remove Gutenberg Additional Classes?
I’m attempting to customize Gutenberg column blocks on my front page.
I’ve added a custom class name to a column block using the blocks Additional CSS class feature.
In my child theme style sheet, I’...
0
votes
0
answers
19
views
How to create multipage form and redirect to specific URL based on inpput?
I want to create multi page form, where first page will take information about user, second page will take information about product which he likes and third page user will subscribe either one time ...
0
votes
0
answers
239
views
WP_Query - sort the results by meta value custom attribute wocoomerce
I’m trying to sort products by attribute value.
The attribute value is alphanumeric
I started from this code
Trying with the following code
add_filter('woocommerce_get_catalog_ordering_args', '...
0
votes
1
answer
48
views
WordPress search input in database, to edit information via form and update the database
i would like to program a custom form to sift out the row that i am interested in by finding the machine's serial number to bring all the other information (eg. full name & email), so i can get ...
0
votes
0
answers
61
views
Give custom page template a custom post ID
I created several custom pages in WordPress. One displays real estate listings. When you click on the listing it opens into another custom page I created.
The problem is no matter which listing I ...
0
votes
1
answer
29
views
Woocommerce template file outputting <strong><code> tags
I'm struggling with the editing of the woocommerce template files. In particular, I'm trying to create a custom cart page and, as guidelines, I've copied the cart.php template file to my template ...
0
votes
1
answer
329
views
Hide A Class and Add Custom HTML Code Using Wordpress
In my wordpress website I am trying to hide download button from non logged-in user and add a custom HTML to that section. My current code is hiding the download button but not displaying the text. I ...
1
vote
1
answer
243
views
Oxygen builder custom Elements
Is there any tutorial or documentation to create elements in oxygen builder? I want to create my own element to show in oxygen builder. Any help link or video?
0
votes
1
answer
26
views
Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
My question is - I have a CPT Post name Company (CF Value - Google) and a Page titled Role (CF V - Engineer). So I want to auto-update with Post published time and date to company post and Role page ...
0
votes
0
answers
71
views
Adding category base to url in custom post giving 404?
I'm building a mobile site and need to use a custom post
i used to build it with Custom Post Type UI and got the code inside function.php
first time I tried it it was ok and working but the category ...
0
votes
1
answer
51
views
No plugin populate user information in to form
I want to create my own form in order to get information on my site. For learning purposes, I do not want to use a plugin. So, please don't tell me to use one. I know they are easy to use, but I want ...
0
votes
0
answers
134
views
How to create a custom post-new.php page for plugin , no wp menu
I am currently creating an administrator plugin to manage and edit a large amount of separate information about establishments.
I recreated a page with the list of articles which is linked to a new ...
1
vote
2
answers
331
views
How to insert a sitemap within a subsite when using Wordpress multisite
I have a multisite Wordpress site.
The structure of its URLs is currently the following:
mysite.com
mysite.com/subfolder/
Now, I know that I can put the sitemap of the first site (mysite.com) in the ...
0
votes
0
answers
90
views
Multisite with subdirectories, and a WordPress installation in a custom folder
My WP core code is located in a subfolder, next to the index.php and wp-config.php files. I tried to enable the multisite functionalities with subdirectories mode.
But I cannot access to the wp-admin'...
0
votes
1
answer
603
views
Display posts by alphabetical order
I just purchased a WordPress theme. I’m trying to sort post on one category into an alphabetical listing (glossary type of listing).
Example : https://www.udiscovermusic.com/browse-artists/
There are ...
0
votes
1
answer
20
views
Text change in Advanced Customs Fields [closed]
I have edited the website which is not created by me.
There is advanced customs fields used for entry data during the post/page creation(wordpress custom editor). After that, the value of entered text ...
0
votes
2
answers
192
views
Adding overlay search to wordpress using add action/filter
I want to add custom overlay search to my WordPress site using add action. Somehow, it is not triggering the javascripts to show the overlay html. However, it is working in a browser when I test ...
1
vote
1
answer
507
views
ServerSideRender and Media Object: attributes passing image data object to php renderer even though it's not set
EDIT: Simply put, the issue I'm having is that the image data object (imgDataObj in the js), which is saved as an attribute in the JS side, is getting passed to the PHP side even though I'm not ...
1
vote
0
answers
115
views
URLs and navigation in custom themes
I have created a custom theme for my site, using stand-alone PHP files (PHP files that are not associated with core, plugins or WordPress themes, eg index.php, header.php ...).
In case anyone is ...
0
votes
1
answer
33
views
wordpress custom fields loop
I need to do wordpress custom fields loop: here is the code to describe better:
<?php
$term = get_term_by('slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
$query = new WP_Query(...
1
vote
0
answers
47
views
Hi, I wanted to make custom search with multiple fields
I wanted to make custom search with multiple fields in which we have to filter by post title and with other custom fields and taxonomies.
have a look on my code
Form
<form role="search" ...
0
votes
2
answers
367
views
Looking replicate static HTML Menu into WordPress Dynamic Menu [closed]
We are converting our static HTML site to Wordpress. The conversion is going fine (for the most part) but the part I cannot figure out is how to build the menu so that I can retain the menu look from ...
1
vote
1
answer
33
views
Adding code to child's theme css and php cannot override certain elements
I've installed the twenty eleven theme and created a child theme based on it. I copied the entire style.css from the parent theme with all the changes I want to the child theme's css and most of the ...
0
votes
1
answer
171
views
Custom CSS Nav Menu Style Not Being Applied
I have created a plugin and custom CSS page to display a custom navigation menu on one page of my WordPress site. I am attempting to show the navigation menu using a Custom HTML block on the page of ...
0
votes
1
answer
110
views
How to bulk Update URLs to new values?
How to bulk update 50 posts with old URL=https://bkfast.vn/san-pham/thiet-bi-trong-rau-sach-thuy-canh-bkfast/ to new URL=https://bkfast.vn/bo-trong-rau-thuy-canh/ ?
Tks in adv,
0
votes
0
answers
166
views
custom email validation using javascript api with elementor pro and code snippets
I am not very familiar with WordPress and CSS however, my system info is mentioned below:
php 8.0.7
wordpress 5.7.2
woocommerce 5.4.1
elementor pro 3.3.1
theme twenty-twentyone
my email provider is ...
1
vote
0
answers
193
views
How to move wordpress to subdomain, keeping only .htaccess and/OR index.php in root domain?
I would like to move all files & folders of the root directory to the subdomain & keep the root directory empty with only the .htaccess file or index.php
I tried to search a lot but fail to ...
0
votes
0
answers
36
views
javascript file not working in a plugin template file
Hello and thank you for taking time out of your day to help me.
I am working on a website and I want to make minor changes to how a form is displayed. I am using a child theme, I have copied the ...