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
1answer
19 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
0answers
15 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
0answers
22 views

I want to add increment decrement buttons to my product archive as well as single product page in wordpress/woocommerce

I am Developing an online eCommerce website for my Business. I wanted to make the add to cart button replaced to product increment decrement buttons just like Bigbasket and Grofers and reflect the ...
0
votes
0answers
41 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
0answers
27 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
0answers
31 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
18 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
1answer
40 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
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
2answers
41 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 ...
0
votes
0answers
20 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
14 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 ...
0
votes
1answer
28 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
39 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'] ); ?&...
0
votes
1answer
19 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
27 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
53 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
23 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
25 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
149 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 ...
0
votes
1answer
327 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
53 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
55 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
18 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
11 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
16 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
28 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
12 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
26 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
77 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
19 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
254 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
355 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
19 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
104 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
96 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
39 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
15 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: ...
0
votes
1answer
24 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
0answers
17 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
0answers
33 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
1answer
34 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
2answers
46 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
0answers
26 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 ...
0
votes
0answers
16 views

Custom Post type editing: where has my publish button disappeared?

I run a Wordpress website with a lot of Custom post types, where I customized the interface so that contributors can easily do what they need. When editing a given post, widgets appear on the second ...
1
vote
0answers
38 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 ...