Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

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

How to set taxable for $1000 shipping and above zero taxable? [closed]

Please read clearly, our client want to set tax for Store/Local Pickup shipping. For $1000 it should take tax and above $1000 he don't want to charge the tax fee Can anyone guide plz Thanks
0
votes
0answers
10 views

How can i enter common data in each post with custom fields?

I have WordPress blog. that have common content in each post. I want to create custom post type and custom field for any media that can have the same data and just I will write each time different ...
0
votes
0answers
6 views

How do I remove the branding of the theme Loud Music from the footer in Word Press 5.4.2? [closed]

I have installed the theme Loud Music on my site. How do I remove the branding that they placed "Theme Loud Music by Creativ Themes" and replace it with my own?
0
votes
0answers
13 views

Adding discount functionality to the cart

Hey guys :) I'm trying to implement a custom discount rule to the cart. Basically there is WooCommerce and the site is selling t-shirts. There is a current promotion that if you buy 3 t-shirts, you ...
0
votes
1answer
19 views

Best way to allow overwriting images shipped with the plugin?

my plugin ships with certain images that are shown in the frontend when using the extension. The images are good, but in certain circumstances the website owner might want to change it. What's the ...
0
votes
1answer
9 views

Add a new view on the Woocommerce account page

I'm working on a custom Woocommerce theme. I've already figured out how to add the Wishlist label to the Woocommerce my account navigation. When you click on the Wishlist navigation item, you go to ...
0
votes
0answers
16 views

display item price before quantity (not item total) in woocommerce customer emails

I am new to woocommerce and php. I want a product display price of 1 unit to show on woocommerce emails. Right now There is Product name, Quantity, And Price tab. Price is not actual amount it is ...
-1
votes
0answers
6 views

WordPress in Image External url Source Add in attachment Custom Post and Post

// $filename should be the path to a file in the upload directory. $filename = 'https://ps.w.org/add-external-media/assets/icon-256x256.png'; // The ID of the post this attachment is for. $...
0
votes
0answers
42 views

Adding a “Enable/Disable” or “Activate/Deavtiate” to custom plugin on rows as action links

there has been a change in scope for our project which includes the need to keep row entries in our custom plugin but also at the same time have the ability to disable/deactivate it within the plugin ...
0
votes
1answer
12 views

How to get the full product name by ignoring custom modification on it

I've added a filter to simplify product name on my shop page. This is the code I use add_filter('the_title', 'mod_product__title', 10, 2); function mod_product__title($title, $id) { global $...
0
votes
0answers
18 views

How to show custom checkout field to order email beside the order date?

I am using Checkout Field Editor plugin to add custom fields date_picker to the Checkout field, I have also enabled date_picker display options to email. Below is my custom fields date_picker from ...
0
votes
1answer
28 views

Changing the CSS with a plugin

I'm trying to make a plugin that changes the CSS file. My client want to change the colors each season, and we want to make it foolproof so they won't break anything. I've managed to create the option ...
0
votes
0answers
65 views
+50

Override a function on editor.js file on Elementor

I'm working on a Elementor Project, I need urgent help to add few devices here. Since, 'editor.min.js' is on Elementor core file, but I need to add/Override few lines on this file. What I've doing - ...
0
votes
0answers
12 views

How to verify user mobile number in the registration form for specific country and disable verification for other countries?

is there any method to verify user mobile number in registration for a specific country like only people from India can verify and disable verification for other countries. I already use SMS-ALert Sms ...
0
votes
0answers
10 views

Load ACF values from a temporary wordpress table programmatically

I want to show ACF values from a temporary table in WP database. Which ACF filters I need to use to achieve this? I want to display the values in backend and frontend just like ACF. Any help will be ...
0
votes
0answers
10 views

How to show parent category's posts in child's category's post of custom post type

I am working on related posts of custom post type. I have created a separate template file (single-mylisting.php) My current scenario is to show related post of custom post type which is working fine. ...
1
vote
1answer
23 views

filter default query to show just selected level of child pages in wordpress

I'm working on a site that has a fairly large page structure a few levels deep - in some sections there are a lot of pages. So I want to have functionality if user choose on select box level 1 then ...
0
votes
2answers
18 views

adding fade on mouseover to images

I'm a teacher and I have been using blogger for years, but a couple of days ago, I decided to switch to WP and opted for premium plan. I'm not a designer, but am able to do basic things (adding ...
0
votes
0answers
8 views

Product categories in sidebar based on current products

In my wo-commerce website, I am showing product category list in sidebar. When I go to a product specific page then in sidebar product category list is showing only children of current category, ...
0
votes
1answer
40 views

Adding an option to post editor to show a site disclaimer or message

I was wondering how I would go about adding an option to add a site disclaimer or message for a published post in Word Press. Something like this (Please See Below) Which by checking the box will ...
0
votes
1answer
16 views

where is admin footer?

hi im working on my new wordpress website. and i wanted to add custom order status in my woocommerce order status and i found this code:- function custom_bulk_admin_footer() { global $...
0
votes
1answer
19 views

Bulk update custom post types

I'm using built in theme custom post types and I made XML import with posts to this custom post types. Everything work, but not a filter for these custom post types. If I update manually every custom ...
0
votes
0answers
47 views

Code to Update Prices and add them for Woocommerce Custom Product Variations Loop

I am actually struggling with some custom functions. Actually My aim is the following: Create 2 custom fields in a woocommerce variable product backend ✔ Show these custom fields text and prices in ...
-1
votes
0answers
14 views

How to add to customizer object setting that contains array?

i want to create a section with customizer object that will contain an array of data that i can add dynmically within the customizer by a button. Example from ACF Pro: is there a way to achieve this? ...
0
votes
0answers
10 views

Woocommerce default css

I am creating a custom woocommerce template I added in the various pages: header.php <?php wp_head(); ?> <body <?php body_class( '' ); ?>> footer.php <?php wp_footer(); ?> ...
0
votes
1answer
12 views

Customize section does not show my widget areas

I am building a new theme from scratch as part of my auto learning process. I have added the lines to register a new widget area in functions.php as follow: <?php /** * Including the widget area. ...
2
votes
1answer
34 views

How do you output custom code between posts in the loop?

I am trying to put a header before past posts and after future posts. I'm using get_posts() in a function to output the posts using a foreach loop for a custom post type ordered by date (meta key). If ...
0
votes
0answers
16 views

how to change a static testimonials into dynamic

i have a section in my home page where i have testimonials and i want to customize it ! im using TC Testimonials plugin and i want the dots to be separated and in front of the testimonial section ...
0
votes
0answers
13 views

How can i add customisation of text to my theme?

I have a theme with a <h2>Hello</h2> I want a user to be able to come and edit this theme via "Appearence -> Customize". E.g. by changing the above to <h2> Changed </...
-1
votes
0answers
14 views

Custom booking system in Wordpress

I am developping a restaurant website in Wordpress, and I am working on a custom booking system. In the front-end I need a form with the following fields : date of booking time number of diners name ...
0
votes
0answers
16 views

Add producthunt badge to wordpress menu

I'm new to wordpress and i want to add a producthunt badge to the menu of my wordpress site. I tried editing the page, tried in appearance->menu but could not find a place to include the block of ...
0
votes
0answers
19 views

Can I overwrite custom taxonomy FROM “public” TO “false”

I have custom taxonomy within my WordPress installation that I created with a WordPress Plugin called Pods. For various reasons, I need to set the registering of the loop from "public" to &...
0
votes
0answers
15 views

How to create multiple posts with embedded images?

Here's the problem I want a quick way to create multiple blog posts with embedded images My current process goes like this Create post -> Create block -> Insert image link -> Remove header -&...
0
votes
0answers
10 views

Custom registration edit field / value before registration submit

i need to : add a hook that updates after user username and password creation by setting them both as the variable telephone number, i try this (but not working): // sets username and password ...
0
votes
1answer
23 views

Show products per page drop down

So i have a wordpress woocommerce site and I would like to add a button under the pagenumbers (do you call this pagination?) so the user can select himself how many products to view per page, ie 20, ...
0
votes
1answer
14 views

Divi: how to hide/show specific menu according current page?

I use Divi plugin. I have these menu items: Blog Enterprise Coach Help On my home page, I have these 4 items: OK When I click on "Entreprise" item (to show enterprise page), I want to hide ...
0
votes
1answer
11 views

How to assign a specific service to a specific provider based on location

I’m looking for a way to assign a specific service to a specific provider based on location. I’m currently developing a website with various service providers providing the same service. Do we have a ...
0
votes
0answers
18 views

Modifying a WordPress Plugin

is it possible to modify plugin by removing action and then adding a new with new function? In plugin I have this: namespace OCDI; class ImportActions { public function register_hooks() { ...
0
votes
0answers
12 views

I want to show page for few seconds before redirecting to external link in Wordpress

I want to add same feature like https://www.casinofever.ca/ in my wordpress website so that when external link is clicked then before redirecting show another page for few seconds.
0
votes
0answers
15 views

Create a carousel that can change content on both sides of a row

I'm trying to create a carousel in wordpress that is split across the left and right side. I want the forward, back buttons on the carousel to change both sides. Ex: https://i.imgur.com/Cypi0hp.png ...
0
votes
1answer
12 views

Randomizing wp_tag_cloud() in child theme

I'm trying to write a wordpress function code in my child theme that randomizes the words in the word cloud where previously it was alphabetized. The code Im using is below, which doesn't work. // ...
0
votes
0answers
12 views

Precheck fields when I add a new post

Precheck fields (like categery or custom fields) in new post based on user id. Its possible to make this?
0
votes
1answer
22 views

Rename a folder via HTML POST request

I am trying to rename a folder in the uploads folder if an HTML form is submitted (used to edit entry names). This following code is what I have so far but it isn't working. if(isset($_POST['...
0
votes
0answers
18 views

Can I load the same composer package twice without conflict?

So, I'm running mrclay/minify library on my theme on WordPress to minify all the CSS and js files to boost performance. On the website, I use the W3 Total Cache plugin so it takes care of everything ...
0
votes
0answers
11 views

Set a numeric range for post ID generation based on post type?

I'm wondering if there's any way to configure WordPress to assign post IDs like so: Pages ID range: 10000 to 19999 Posts ID range: 20000 to 29999 Custom post type 'A' ID range: 30000 - 39999 Custom ...
0
votes
0answers
26 views

Wpbakery Grid: how to add target=“_blank” to the post-title link?

does someone knows a way to add the parameter target="_blank" to all the post-titles links of a particular WPBakery Grid (so, not all the grids have to have the post-title link in an ...
0
votes
1answer
23 views

Trying to customise 2011 Child Theme Background Colour

I am trying to customise the background colour of my site. It's a 2011 Child Theme. When I go to Appearance -> Customize -> Colors, I get the Light and Dark option under Color Scheme, but can't ...
0
votes
1answer
20 views

Having trouble creating two shortcodes, one for logged in user and one for visitors

So I'm trying to create a code (in functions.php) that displays a widget content, from shortcode, based on whether the user is logged in or logged out (visitor). I am successful in displaying content ...
0
votes
1answer
17 views

Switch between Wordpress websites easy for an end user

On of our clients has several Wordpress websites (not a multisite). Is there a way/plugin that can make it easy for them to switch between these sites without having to login all the time? They should ...
0
votes
0answers
12 views

How to remove (…) from the post tilte on homepage?

Please help. I want to remove ... from the post title below the thumbnail in homepage.

1
2 3 4 5
97