Questions tagged [customization]
MEANINGLESS tag. Used as a merge target for other meaningless tags. Do not use it on new questions.
5,017
questions
0
votes
1
answer
158
views
customer specific email attachment
I'm working on a website (client-side in Angular) and basically use WordPress as a “headless CMS” to be able to use useful plugins like “Woocomerce”.
Problem:
Based on customer input on the website, ...
-1
votes
1
answer
398
views
Adding Custom HTML/CSS/JS code in specific page
I've written a HTML/JS code, it's something like a survey which consists of code like this:
<div class="Question">
<h3>1. I have the knowledge of procedures needed for ...
0
votes
1
answer
912
views
Change Successful password reset message
After password is reset in Wordpress, the message comes as "Your password has been reset. Login"
How do I customise this message?
do_action( 'validate_password_reset', $errors, $user ...
0
votes
1
answer
249
views
str_replace with the_content is not working
I am trying to replace the a URL of the content with php. i tried the code mentioned below but it didn't work. is there any way to achieve this with php only?
function replace_text_wps($text){
$...
0
votes
0
answers
325
views
When is the wp-settings-[time] cookie generated?
I created a custom plugin for login and registration forms.
When I log in for a new user, 4 cookies are set : PHPSESSID, wordpress_test_cookie, wordpress_logged_in_, and 2 wordpress_sec_ .
But I don't ...
0
votes
1
answer
29
views
How to access a wordpress plugin page or add posts without doing it from the Wordpress dashboard?
I am a creating a website on WordPress that uses a plunging called H5P which allows the creation of interactive content. as in the picture below. However the creation of the content is currently only ...
0
votes
0
answers
19
views
How do I run a web app in my WordPress theme without the "wp-content/theme/.../webapp" in URL?
hope everyone's doing great.
I have a web application that's pretty much a folder containing an index.html and some javascript stuff. I placed this folder in my theme folder.
It works perfectly when ...
0
votes
0
answers
76
views
How to replace ACTION url from original wordpress login form?
I need to replace the action of original wp-login login form:
Instead of
<form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', '...
1
vote
1
answer
35
views
2 Templates 1 custom post type according url
Let's say i have a custom post type names "Projects", is it possible to have two template like :
Minimal template (with a few info about the projet)
Complete template (all the info)
And ...
1
vote
2
answers
47
views
Create a customizable child theme
Here's the situation:
I've created a child theme that enhances a popular parent theme. The enhancements include CSS, JS, and php. I want to use this child theme on multiple sites, and I want to allow ...
1
vote
0
answers
29
views
How do I move/order posts with a tag to the end?
Let's talk about the situation first.
I have a query for finalists, some of which has a tag 'Special Mention'.
I need to move all posts with the tag to the end of loop.
e.g. I have 13 posts, 3 of ...
1
vote
0
answers
60
views
Add custom field to woocommerce variations [closed]
I want to be able to add external links with documentation for my products.
With this code I added for simple products and it works as I wish:
// This function gets the value for the the custom fields ...
2
votes
0
answers
36
views
Custom widget select options needs to stay selected after save
I am working on a custom widget that includes a select options drop-down list of pages. When I select a page and save, the selected option does not stay selected. However, if I refresh the widgets ...
0
votes
1
answer
51
views
Custom Post Type and Structure Question
I'm working on a site with a structure I haven't seen in the past.
Specifically, the site has Inventory Items (custom post type 'item') that show on Item Archive and Item Single pages.
For some of ...
-1
votes
1
answer
36
views
add custom css on all page exept of one
OK, that was helpful. But I need it a bit more complicated.
I need a script to add a custom css to all pages, exept on one.
How can I do that?
1
vote
0
answers
162
views
changing meta value and meta key of price field
I have theme that uses price field. its price is stored in "S1" meta key.
next is woocommerce that use simple _price meta key to tore price values.
i want that when user enter price in theme ...
0
votes
1
answer
32
views
How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
So my question is where i can place the code to display the taxonomy? i found this code
`function get_taxonomies( $args = array(), $output = 'names', $operator = 'and' ) {
global $wp_taxonomies;
...
1
vote
0
answers
58
views
Hiding Draft Post In Admin
Does anyone know of a way to hide draft post so that when "All" post is selected, draft post is not included?
I tried adding this code to my functions.php file but it lead to an error, I'm ...
0
votes
1
answer
120
views
I want to remove the register/login Wordpress top bar from my website
]1,
This screenshot above shows the functions.php code snippet I tried to use to remove WordPress register/login top bar from my website but so far it haven’t worked. I included the code into a ...
0
votes
0
answers
31
views
Alt text attributes not showing over portfolio images
I´ve been searching almost all posts regarding this issue but haven´t found a solution for my theme. Maybe there´s a kind expert mind that can support me. I´m using a theme that doesn´t allow updates ...
1
vote
0
answers
43
views
how to get the categories for a single product in a hierarchical way
It's the first time I write here, but I really appreciate your work from long time.
Well, I know there is a very similar question, but I can't get out the solution for my particular case.
In a ...
1
vote
1
answer
2k
views
Filter Custom Post Type by Category with Ajax
I've used the below tutorial for my WordPress site to add a filter to one of the pages.
https://www.youtube.com/watch?v=KRc47o8uDhk&list=PLSeCxQ7f7r87qbYmqXmOAcvoshw1e6ewQ&index=3
It works ...
0
votes
1
answer
178
views
Get All Results From Other Users That Share The Same Custom User Meta As Current User
I am pretty new to extending wordpress and trying to get my head around using Mysql and PHP to fetch data into a html table and print it on a wp page.
What i have so far is fetching all form data to ...
0
votes
2
answers
318
views
How to block specific user id in custom login form?
I've been looking for this method for weeks, but still can't find it. There are so many sites that discuss how to create a custom login page, but they don't cover how to block a specific id like the ...
1
vote
0
answers
11
views
Multi Site installation inside a sub domain inside a sub directory
I am trying to install multi site inside wordpress installtaion that currently sits in a sub domain and inside a sub directory.
The folder structure / domain structure is as follows:
stage.domain-name....
0
votes
1
answer
331
views
Undefined variable: user_id in get_user_meta
I got the undefined variable : user_id when i use get_user_meta
$phone = get_user_meta( $user_id, 'phone_no', true );
$icno = get_user_meta( $user_id, 'ic_no', true );
when i try put the above code ...
1
vote
0
answers
140
views
Automatically check parents (in a taxonomy) when child is selected
On my website I have a custom taxonomy which contains a lot of parents, children, subchildren etc. Because of this, it is really long to manually find what I want, so do you know if there is a way to ...
0
votes
1
answer
508
views
Can we set a redirection with dynamic content in url?
I need to redirect users to profile page using a single url.
Ex:
Static link: www.domain.com/profile/
when clicked,
www.domain.com/profile/[USERNAME]/ <-- adds username
i need to change the [...
0
votes
0
answers
78
views
How to make conditional statement in WpBakery (formarly Visual Composer)
I am building a new membership website with WordPress using WpBakery (formally visual composer).
I created a heading text which I linked to my login page, everything works fine but the problem is that ...
0
votes
1
answer
24
views
How do I make mysite.com/comingsoon WordPress to become my main website's WordPress?
I joined Bluehost and then I can create some WordPress, except if it is the button "Start Designing", I cannot make it the top level, root of the website.
If I want to add to top level ...
0
votes
1
answer
20
views
Simple custom attributes on posts
I'm working on a site which will have a dozen of menus. There will be a subnavigation widget below the header. My client wants his content writers to be able to select which menu would show up in the ...
1
vote
0
answers
19
views
How can I turn a custom wordpress page into a product page?
I want to create a custom wordpress template product page using PHP.
I don't want to override the default product page, but I want to register
my custom template page as a product page.
I have created ...
1
vote
0
answers
21
views
Print all the tags from a custom post type Please
I'm looking for solution that will display all the tags that are used on a custom post type.
wp-admin/term.php?taxonomy=tour-destination&tag_ID=316&post_type=tour&wp_http_ref
From a ...
0
votes
1
answer
18
views
Is it possible to make wordpress LMS
How do I change the "submitted on date" of a comment to an earlier date? I want to change the date that is displayed to the readers. As far as I know, I can change the date of the post by ...
0
votes
0
answers
12
views
Can we hide a certain user in WP?
Is it possible to hide a user in Users panel of WordPress without using any plugin. I had achieve this using plugins but I want to do it the old fashion way if its possible, like write a code in ...
1
vote
0
answers
32
views
Adding custom field in all widgets, but at the top of the form, in admin area
I am creating a cute new functionality on my theme that requires to add a custom field to all widgets forms in the admin area. I managed to do so by using the in_widget_form hook:
function thefunction(...
0
votes
1
answer
19
views
Adding LOAD MORE on a page
So I have a blog with different pages and categories and I add each post manually and link it with the URL instead of using post grid. I only want to show 10 posts at a time and add LOAD MORE text ...
1
vote
1
answer
148
views
How to check if a meta value has already been assigned to any user?
On my website I automatically generate an 8-digits random number $rndnr via wp_rand() during the registration process and save it as user meta.
How can I check if this number has already been assigned ...
1
vote
0
answers
13
views
I want to submit multiple users if checkbox is checked
The following code is getting all terms and see if any one of them is checked or not.
If any term is checked a form should show under the selected checkbox with email, the username(auto-generated) and ...
0
votes
0
answers
32
views
Multiple header style under meta box
I am a wordpress developer. There is a problem I want add multiple headers through metabox in my theme but there is not working.
Code:
add_action("admin_init" , "multi_header_meta_box&...
1
vote
0
answers
83
views
How to create left and right menu with logo center in a custom theme?
I recently developed a new custom theme in wordpress. I want the following menu structure:
Left menu LOGO Right menu
For example:
Home About LOGO HERE Blog Contact
I created the following code:
<...
0
votes
0
answers
134
views
Use a custom page with dynamic content as a user profile page
I'm trying to create a website with fully customised user profile pages. I've created the page which uses dynamic content to pull user custom fields into it, this works fine to view your own profile ...
1
vote
0
answers
8
views
How to hide products that do not have an image from a slider carousel for an ecommerce webpage?
I am using a plugin for a product carousel on an ecommerce webpage. I would like to hide products that do not have images from the carousel. I am very new to all of this. It is my first webpage ever,...
0
votes
1
answer
17
views
"No Add Button" for me to customize my WordPress with themes and pluggins
I have followed some of the answers I have found concerning my problem but to No avail.
I have tried the formula that deals with the Dashboard process
I have also tried the other formula that
You ...
0
votes
2
answers
68
views
website is not loading home page (moving from one server to another server)
I have a wordpress site and i want same site with other domain name at same server. I moved all files and folders to new domains directory and also successfully moved database. My admin panel is ...
1
vote
0
answers
27
views
CPT Loop with ACF and passing ID between Loops
I have a staging site at:
https://tozsdeforum.ethermedia.hu/
Near the top of the page, we have a "Kiemelt Hirek" section.
In this section, there are five loops in play:
IF (pos1 == true) {...
3
votes
2
answers
127
views
FireFox Inspector :: find CSS file related to <div>
I'm creating my new website and I would like to change the background colour. Through FireFox Inspector I nailed the CSS line that manages the colour, it's background-color: #fff;
I now have to ...
1
vote
1
answer
507
views
Wordpress audio player has two different styles
So, when my page loads a see an audio player that looks like:
But then, when the page finishes loading then it looks like:
I noticed this in Google Chrome, but am not sure whether it's a Google ...
0
votes
0
answers
24
views
How Can I Increase Breadcrumb Position Count (Starting From 2)?
In my wordpress functions.php, I have tried increasing locations position count in the breadcrumb from 2 and above in the foreach loop (while leaving out position 1 for Homepage).
Please how can I be ...
0
votes
1
answer
62
views
where can i add custom script to stop header video from autoplay
How can I add the custom script from this answer to my site to stop the custom video header from autoplaying?
$( document ).ready( function() {
$( document ).on( 'wp-custom-header-video-loaded', ...