Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

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

wp.blocks.registerBlockType not showing what I want on the frontend

I can define the edit and save parts of this new block just fine, but what if I want to add a custom display on the front like in a shortcode or something? Here is my code: wp.blocks....
0
votes
0answers
10 views

What are the options to let any one easily edit pages and background images for a page from dashboard without using a page builder [on hold]

So, i want to custom code all my pages (no page builder), but need the option to be able to edit the pages from wp dashboard. What are the best options to be able to edit texts and background images ...
0
votes
0answers
7 views

Custom wp_list_tables redirect on specfic page

I have created a custom plugin and added the wp_list_tables and added some bulk actions, What I want to achieve when user select fields it should go on another page where, I can get all selected id's. ...
0
votes
1answer
15 views

Custom shortcode being shown in WPBakery backend rather than the block

I have a nested element called Hero Slider. Hero slider is the container and it can only contain a Slider item. However, my shortcode is being shown in the WPBakery backend maybe suggesting a syntax ...
0
votes
0answers
16 views

How do I properly use is_single to target specific products

I don't know what I am doing wrong here. Can someone shed some light on my error. I am attempting to remove wordpress hooks on specific pages. This is what I have come up with: function ...
0
votes
0answers
11 views

How to create a demo importer on a theme - setup wizard [on hold]

I am developing a theme to sell it after. When you buy a theme from the big theme reseller, you can import a demo. Once imported, it sets up all plugins, contents, pages etc ... There is the ...
0
votes
0answers
18 views

Implementing multiple text inputs in customizer

I'm trying to implement multiple text fields as inputs for a custom section in the theme customizer for a theme I'm working on. Now I'm getting the ui on customizer where all social media textfields ...
0
votes
0answers
12 views

Wordpress convert html section to widget

I have converting html template to wordpress. In home page i need to create customize section. while converting i could't convert image with specific classes. HTML Code: <section class="homePanel ...
0
votes
0answers
12 views

Why aren't my custom js scripts loading from child theme?

I'm trying to override some custom js files in my child theme, and I have managed to get almost all scripts working, except for one script - the 'child-listing' script. All scripts load from child ...
0
votes
1answer
18 views

Multiple loops on same category with different design

I am having a problem regarding the showing the multiple loops on the category posts i want a posts from a category=social where 3 design is located the structure is as follows Note: I want a ...
0
votes
1answer
23 views

Help: how to change the font type of woocommerce product additional information section [closed]

I've tried to change the font type of both woocommerce product "description" & "addition information" to no avail. Is there any custom css code to make this problem solved? Thanks in advance
0
votes
0answers
13 views

How to create a membership application form? [on hold]

how can i create a membership application form, generate membership number comprising of the first 3 letters of their states name plus 5 numerical digits and each registered member should have a ...
0
votes
0answers
16 views

BuddyPress Customizations

I am new to Wordpress and Buddypress. I have a couple of items I am struggling with and would love a little direction. In Buddypress, when you visit a group that is private, you receive a default ...
-1
votes
0answers
19 views

How to change header background color of Tokoo theme? [on hold]

I am using Tokoo theme for an e-commerce website. Tokoo provides 6 options for header background color using theme customization but I want to set a custom color of my choice. How can I do that? I ...
0
votes
0answers
18 views

Help with group pages and redirections

I am new at asking for assistance in these forums. So, bear with me please. I am working on a WordPress site that involves BuddyPress groups as well as the membership system that PMPro provides. I am ...
0
votes
0answers
12 views

WP Query for all events prior to current date

I'm trying to display past and future events using a wordpress query. I'm able to query future events and even events that are on the same date as the current date. But, when i use less than or ...
0
votes
1answer
38 views

Is there a way for me to add a custom row or field above the tabs on a woocommerce product page? [closed]

I am using a the plugin Tag Groups Premium where it allows me to enter a shortcode into the description box of the Woocommerce product page. The shortcode brings up a custom tag group box, for example ...
0
votes
0answers
30 views

Redefinition of the default attribute [closed]

In the variation product, the attributes that are displayed by default when visiting the product page are selected. The product itself is updated automatically from another source and it often ...
0
votes
0answers
20 views

How to create a custom SportsPress Pro scoresheet for fencing [on hold]

I am using SportsPress Pro for a fencing league but need to create a custom scoresheet for the Box Score to accurately capture all of the details required in a team match (see below). As a part of ...
0
votes
0answers
12 views

Search.php customization (add button ) not working

I am trying to add "Special order" button in search.php before footer section. purpose of this button is if customer not found his desired product he can click on that button and will go to special ...
0
votes
0answers
14 views

WordPress Wallet/Credit without woocommerce

I am trying to create a credit/wallet like system where user can add their credits from the front-end and when they clicked (buy) a CPT, it would subtract from their total wallet balance. I've tried ...
0
votes
0answers
11 views

Theme customisation - how to store common variables externally

I have been developing a custom extension for my theme over the last few weeks. This is my first time "developing" with Wordpress. All works fine and I am happy with the resulting functionality, ...
0
votes
0answers
14 views

Custom shortcode sorted by meta date shows only current year and displays other language in date

I have this snippet in my functions.php. I thought it worked, but I noticed that it shows events only from this year (I have more events that are next year) and also, I can't get the date format to ...
0
votes
0answers
13 views

Custom Drop Down in TinyMce in Elementor

I'm using elementor and added text in drop down,"Span", but its not working i want to know how to add functionality such that it will also work like "Heading 1,2,3,4.." are working. I added "Span" ...
0
votes
0answers
12 views

WooCommerce: Change price of variations with specific stock quantity

I'm trying to make my variable products more expensive when they fall under a certain quantity. Something like a reverse-discount. I found out how to change the price and a way to get an array of the ...
0
votes
0answers
10 views

Multi-page site via Wordpress custom theme

Is it possible to display multi-page content via WP custom themes? By WP custom themes i mean a wordpress theme manually created by splitting my Html into .php files and then uploading them directly ...
0
votes
0answers
21 views

How to hide subcategory posts in main category [duplicate]

I want to show in my Taxonomy only posts which are in Main Category and Subcategories links - but i need to hide posts which are in Subcategories in main category. Do you know how can i do it? This ...
0
votes
1answer
36 views

Make Widget appear on Dashboard

I recently created a widget in my functions.php with following code : register_sidebar( array( 'name' => __( 'Informations importantes', 'twentynineteen' ), 'id' ...
0
votes
0answers
12 views

Create a custom role to can access only a custom api endpoint to fetch data

I have a small external app which is communicating with a wordpress custom REST API endpoint, in the meaning is requesting some data aggregation from web but will never push back data to wordpress DB. ...
0
votes
0answers
17 views

Change the navigation items on mobile menu on custom theme

Im working on a website previously created by an agency, they used their own theme, but I am looking to move the mobile view menu items, so that Find Help Now, and the language settings are at the top ...
0
votes
1answer
26 views

How do I remove a customiser option from a parent theme in a child theme?

Let's say there is a theme that you like but you want to make some changes. You make a child-theme. At least you do if you follow good advice. So now you have a child theme. You are happy with it and ...
0
votes
0answers
14 views

How to create a custom search form to filter data organized in tabs?

Considering that I have an Excel table that represents my "DB", I need to implement a custom search form that: retrieves data from the table, using some filters, and shows short results; opens a tab ...
1
vote
2answers
75 views

Turn off redirect to canonical domain (or host website on any hostname)

I want to have various development (say dev.example.com) and staging environments of a WordPress multisite (example.com). For this it would be great if WordPress wouldn't redirect to what it considers ...
0
votes
1answer
25 views

How to disable automated E-Mail on PHP error/exception?

Since WordPress 5.2 there is an automated E-Mail on PHP exceptions. In some smaller projects I just upload the files for new extensions while developing - whenever an error occurs then, the site admin ...
0
votes
0answers
13 views

i tried to change custom permalink on subdirectory blog, but blog homepage automatically display root homepage content

i tried to change custom permalink on subdirectory blog, but blog homepage automatically display root homepage content, please help if anybody know the issues.. For example I have domain - https://...
0
votes
0answers
30 views

Cannot replace header & footer using “the_content”

It replace everything except header & footer. I've tried different priority for this function but it doesn't seem to work. I think the_content is only for content and not header/footer, but after ...
0
votes
1answer
42 views

Remove POST_TYPE from custom post type permalink

I have a post type named services with the following permalink DOMAIN/services/investing/ (Single Page Permalink). I want the permalink to be changed like DOMAIN/investing/. I don't want the ...
0
votes
0answers
10 views

Replace the Dashboard help link with an external link?

In the right top corner of the dashboard there is a Help button, this opens a small frame on the current page showing Wordpress help. Is it possible to disable this, and instead use this icon to link ...
0
votes
0answers
22 views

How should I design subcategory login site?

I am trying to design a specific type of site and would like someone to point me in the right direction. main home page with list of public subsites (categories i think). Also a form to become a ...
0
votes
0answers
18 views

How to make the videos in loop and auto play

I am trying to make all front-page videos in loop and autoplay I am using divi theme, I know it will be done by adding loop and autoplay tags in the video tag but how to do it where is that module ...
0
votes
0answers
14 views

How do I change the button text color on my header?

So I'm looking at my header in Wordpress and I noticed the header button text color is stuck on black. I don't know any way to change this since I'm very new to wordpress; and any other answers I ...
0
votes
0answers
10 views

Change social navigation menu default icons with customized icons (twentyseventeen theme)

I'm taking the first steps as a self-taught in the wordpress world. My problem is the following: modify the icons that the "Twentyseventeen" theme assigns by default in the social media menu. I ...
0
votes
1answer
40 views

How to clean up the theme for production?

Is there some automated way to generate a dist/production version of the theme without all of the hidden .git, IDE directories and the config files, node_modules? WARNING: .babelrc .git .gitignore ....
-1
votes
1answer
20 views

How to create a shortcode with HTML code in it and custom parameters/

I want to create a shortcode for putting newsletter opt-in boxes in my posts and pages. But depending on the page or post, I want to have different headline and description for the opt-in box. I ...
0
votes
1answer
28 views

Insert menu with a custom walker into page / post body using shortcode?

I'm trying to add a menu using a custom walker class into a page or post body and settled on using a shortcode. I don't have to use a shortcode, but I do have to embed the menu into the central ...
0
votes
0answers
22 views

Suggestion to buid a site with wordpress

What would you use to accomplish this site structure? members can upload their photos. first page will show members photo (only one photo). only paid members can upload and have photos visible/shown. ...
1
vote
1answer
38 views

How do you modify the WordPress directory structure?

I would like to use the following directory structure for WordPress. ├── composer.json ├── config │ ├── application.php │ └── environments │ ├── development.php │ ├── staging.php │ ...
0
votes
2answers
39 views

Issue calling my functions on Plugin activate in Wordpress

I am Creating New Wordpress Plugin and splitting my code into different files for code management. Here is code of my main Plugin file which my-best-plugin.phpwith following code: <?php if ( !...
0
votes
2answers
28 views

Need help transforming echo to return for use with shortcode

I'm not so good at coding but managed to write a little piece of code to have a shortcode to display a co-authors (co-authors plus plugin) bio/description in posts. The code I came up with is <?...
1
vote
2answers
16 views

Trouble creating conditional PHP for nav menu items with children for custom Walker

I'm trying to create a nav menu with a clickable dropdown function but minimize scripting at the same time, so I found out a way to achieve this with an invisible input box and CSS. My only problem is ...