Questions tagged [customization]

MEANINGLESS tag. Used as a merge target for other meaningless tags. Do not use it on new questions.

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

Display user role in order details (woocommerce) [closed]

I'd like to display the user role for a customer in the backend woocommerce order details section of a recent purchase. It would only be visible on the backend, for admin purposes. Preferred, but not ...
0
votes
0answers
9 views

My website builder is not updating beyond the “Coming Soon” page even if I make a change. Why is this happening? [closed]

When I use the website customization tool, nothing changes at all and it only remains on the "Coming soon" page.
0
votes
0answers
14 views

Max Mega Menu Unique Tab Customization

I'm trying to change the colour of a single tab within my megamenu and I can't get the CSS to work. what I've got at the minute. #{$mega-menu-item-4527} { background-color: #4f3d91; } The ...
0
votes
0answers
10 views

Change logo based on WP user role login

I have figured a way how to change the logo using the custom logo hook. However, when I switched to the theme my clients want to use, the theme doesn't use the custom logo hook. I don't have much ...
0
votes
0answers
15 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 ...
0
votes
0answers
7 views

Mandatory/Required checkbox isn't working [closed]

I have added custom terms and conditions via function.php with required checkbox. The problem is that the checkbox isn't really required and I can click on Place order and won't get prompt/notice that ...
0
votes
1answer
15 views

How do I know if the user is a customer?

I'm using Woocommerce and Dokan latest version. I need to check if the user is a customer of that vendor. In this way, I will show the customer some information about that product or seller. First I ...
0
votes
0answers
11 views

Hiding Tutor LMS lesson names for anonymous users [closed]

I am using Tutor LMS with Elementor. I want to partially hide the lesson names for anonymous users. For example: Topic names would be visible, first 2 or 3 lesson names would also be visible but any ...
0
votes
0answers
9 views

Woocommerce - Product Color Selection with Photo [closed]

is the plug that selects the color with the photo? (there may be a fee). as in the example:
0
votes
0answers
12 views

Discussion of the post on another page

I would like to make the discussion on the article on a different page. www.website.com/post-title/discussion or www.website.com/discussion/post-title How to achieve this? Thank you. Jan
0
votes
0answers
13 views

How to hide cart page content if no product is in cart? [closed]

I have a wishlist section on the cart page, I want to hide the wishlist section if no product is there on the cart page.
0
votes
2answers
35 views

Add a searchbox to the body of a page

I'm creating a website in which I need that, when I click on one of the tabs of the specific menu, and it opens, this page contains a search box in its body. My question is how can I add this search ...
1
vote
0answers
18 views

Change name of users parameter called 'Roles'

I'm trying to change the name of the parameter of all users called 'Roles' to 'Levels'. I already tried to find it in the database of the website but nowhere this row with parameters was. Is it ...
0
votes
0answers
12 views

search form for custom fields

I want to create a custom search for pin code search with custom fields value. When exact match with pin code will show the post data Can you please help me? Any help in this matter would be ...
-1
votes
0answers
8 views

How to add custom search field in woocommerce [closed]

I'm trying to add a search field, on the products page, as seen on this site: https://www.netseals.it
1
vote
1answer
27 views

How to put the AVATAR and URL (buddypress profile) of the commenter in the wordpress post? [closed]

I need to put the AVATAR and the URL (buddypress profile) of the commenter. I've searched in several places and I can't find the solution. EXAMPLE: AVATAR USER [a href="URL-PROFILE-BUDDYPRESS&...
-1
votes
0answers
40 views

Replace Wordpress' default post edit pages with custom pages

I have the following problem: When I want to edit the content of posts, Wordpress simply opens its standard page editor where I can add and arrange blocks, control the general page design and what not....
0
votes
1answer
24 views

How to put the author of the post in the comments?

I need to put the name of the author who wrote the post and I can't find the solution. EXAMPLE: Rachel [06/03/21] : Commented in the post "How to be a Web Designer", written by: POSTAGE ...
0
votes
1answer
19 views

How to print Array values of custom Fields Meta?

How to print array values for custom field meta. My code - <?php $item = get_post_meta($post->ID, 'occupationalCategory', false); ?> <?php print_r( $item[0]['occupationalCategory'] ); ?&...
1
vote
0answers
12 views

Custom Woo-Commerce Product Options [closed]

I've been provided with a test task to implement custom woo-commerce product options functionality just as it is implemented in this screenshot Task: The task is to include toppings from the "...
0
votes
1answer
12 views

display text generated via custom get query string

I'm trying to display some text on my page, generating it via get query string, e.g. calling this url: mysite.com/page/?letter=exampletext If I understand correctly in such cases it is needed to "...
0
votes
1answer
19 views

Custom permalink load template

I created functions below to customize the permalink of a specific category. Everything is working right! When accessing the post with this permalink example.com.br/negocios/name-post everything is ok....
0
votes
0answers
17 views

Search for custom field input of a custom post type in ajax live search

I have a custom post type (gd_place generated through GeoDirectory) with a custom field (select_funding as part of the table wp_geodir_gd_place_detail) where a user can choose one out of several ...
1
vote
0answers
15 views

Getting Back Int WP Dev - Best Approach for custom post widgets (drag/drop) [closed]

At one point I was a fairly solid WP dev (at least I thought I was), but have not done a lot with the platform in about 6 years. An old work friend has a job and was asking me to help out. I ...
1
vote
0answers
22 views

Is there a way to modify a core admin page table? [duplicate]

I would like to modify the "pages" section of WordPress dashboard to add this custom column "views" to tell how many times one page was viewed. Is there a way to do this?
0
votes
0answers
29 views

Custom admin menu items

I'm very new to Wordpress, familiar with CMS though. I am taking over someone else's wordpress website, by comparing with other wordpress, I found this one has some admin menus that the other doesn't ...
0
votes
0answers
20 views

If Term Name Exists, Append a Unique ID to Slug

How would I go about adding a unique ID to a custom taxonomies slug? We have multiple users who can create their own taxonomies. The problem occurs when two users wish to create a taxonomy of the same ...
0
votes
0answers
31 views

how to add multi select or select 2 field to multiple select custom brand from user

How to add a multi-select box meta box in the WordPress user section showing custom post type title. Multiple select has been added using the following code //add meta filed in user in admin ...
1
vote
1answer
26 views

Search and Replace in database: How to replace data in SQL dump file [closed]

I need to help about the snr procedure provided by Courd Headman in the following thread : Search and Replace in database: How to replace data in SQL dump file on Windows? I am getting following ...
0
votes
1answer
50 views

Create page template via functions.php?

I want to create a new selectable page template for users that will allow them to identify which pages on the site are "Service" pages (eg plumbing, gas fitting, etc). The template is an ...
0
votes
1answer
47 views

Make page template that is just an “include” of another?

I would like to create a page template in my child theme called "Services". This template is identical to page.php - except that I just want to add some JSON LD (ie, https://schema.org/...
0
votes
1answer
50 views

wp_set_object_terms creates taxonomies but does not add custom posts to it

I am trying to call wp_set_object_terms in a function hooked to custom post creation (via wp_insert_post_data) to set taxonomies tags for the post from a custom field: $item_brand = ( ! empty( $_POST[ ...
0
votes
1answer
13 views

Easily add custom HTML outside the main container?

My theme has set the max-width of the main container smaller than the screen size, and I'm searching for a way to override that in order to add a fullscreen video background. Is there a relatively ...
0
votes
0answers
11 views

Insert shortcode automatically after another shortcode

I have a plugin for ads that generate shortcodes for ad placements so I can manually install them anywhere. I used to install certain ad this way on custom posts on my website and that ad was ...
0
votes
0answers
10 views

How to create a template for subcategories from specific category in wordpress

I need a template for sub-categories on a specific Parent Category. Ex: Home (Parent Category) Kitchen (sub) Bathroom Rooms Saw this code (from https://wordpress.stackexchange.com/users/4771/milo), ...
0
votes
0answers
15 views

How can Use custom input field in functions.php page?

I have if clause to add action in functions.php page. But I want to give condition value from dashboard as a custom input instead of defining it functions.php. When I am trying 'echo get_field('...
2
votes
1answer
24 views

Auto add taxonomy if post has category

First off this is my first time posting on here. I can usually do research and put together code that I need based off of other's responses, but I'm stumped on this one. I've been at this for almost a ...
0
votes
0answers
10 views

Mix Product and Post in a grid view

Thanks for reading me and in advance for your support in this! I have a wordpress with a woocommerce I wanted to have a grid view of the site and mix Posts and Products but I can't find the theme or ...
0
votes
0answers
24 views

We are facing this error in header unable to understand the issue

call_user_func_array() expects parameter 1 to be a valid callback, function 'add_search_form' not found or invalid function name in /home2/zeonu81d/public_html/wp-includes/class-wp-hook.php Please ...
0
votes
1answer
35 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, ...
0
votes
0answers
15 views

During duplicating Custom Post Type with its Custom Meta fields, Meta Fields values are not duplicating

I have a custom post type called House that includes a number of custom meta fields. I want to duplicate each CPT post including custom fields data. I have used the following codes to duplicate the ...
-1
votes
1answer
34 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
1answer
55 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
0answers
18 views

How to Get Post Id on Page

I have created a custom post linked post to custom page URL instead of post detail page. But now I want that post id on custom linked page. So please help me how can I get post id on that particular ...
0
votes
1answer
42 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
0answers
21 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
0answers
18 views

Restrict block patterns and template for page template

I'm facing two problems with Gutemberg to be able to use it correctly, maybe some of you have an idea how to solve them ? I know how to create a custom template for all pages : $page_post_type = ...
0
votes
0answers
7 views

Linking a custom application form to database to manage a large user site?

Here's a bitter scenario. Some experts could advice on this for a practical solution. We are in situation that we are building a site with for a growing user base, transactions (user activities) and ...
0
votes
0answers
14 views

How can I list the recent posts of a specif category and its descendants?

Category 1 Category 1.1 Category 1.2 Category 1.3 Category 2 Category 2.1 Category 2.2 Category 2.3 When user access SINGLE or ARCHIVE pages of category 1 or any of its descendants, he should see ...
0
votes
0answers
7 views

how to display proudact by published date?

I want to add some function in the main menu like the attached picture, when people click the date on the menu, the page will display all prouducts in same date. how to do this? the sample picture: ...

1
2 3 4 5
101