Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

0
votes
0answers
9 views

wordpress listing services with multi-service select search box

I am looking at various service listing themes for ex: https://preview.themeforest.net/item/citybook-directory-listing-wordpress-theme/full_screen_preview/21694727?_ga=2.103365952.1757685277....
-1
votes
0answers
7 views

Woocommerce Coupon field Ordering

I am adding new field to Woocommerce's coupon panel. In coupon data i added the new field [Start date] in General tab. Now the thing is it appears after the Coupon expiry date, What if i want my new ...
0
votes
1answer
35 views

How replace theme styles?

I have some theme. I am running shortcode for my plugin in some page like this: [my_plugin_code atr="1"] But all styles is import from CSS theme. I want my custom CSS. How to do it without ...
0
votes
1answer
12 views

Template for displaying CPT / Taxonomy URL issues

I would like to create a template to display custom post's terms. First menu level page : (Drink - About / LOGO / Questions - Contact ) Section 1 (Drink Page) : (col-6) -> Image / (col-6) -> Page ...
0
votes
0answers
24 views

Can I develop an ERP ( Enterprise Resource Planning ) application with wordpress

I'm a PHP developer but new to WordPress, I need a suggestion that which one better Wordpress or can I go with development from scratch for the below requirements. Content Management System for all ...
0
votes
1answer
24 views

Convert html menu to WordPress

I am new to WordPress but have used an online tutorial to take my HTML5 theme and copy it to a WP theme. As the WP blog is currently a part of the html site, it is necessary for the themes to function ...
0
votes
1answer
15 views

Multiple posts in one page

lately I see more and more sites with this feature. In single post page you can read other posts too and the url changes at page scrolling (like this one ). Do you mind how it is possible? is there a ...
0
votes
0answers
15 views

How to force all non-Admin links in the Admin console to open in a new tab?

I prefer to never lose my Admin view. If I click on a link in the Admin and it goes to another part of the Admin (e.g. New Post), great. But if a link goes either to my site's front-end or to an ...
0
votes
1answer
20 views

Setting custom canonical urls

I have a page that requests and displays information from a database. All is fine but I'm having some trouble setting custom canonical URLs for this single page only and its URLs (with parameters ...
0
votes
0answers
13 views

Login CSS style doesn't load instantly

For some reason when changing the CSS of the login page it isn't loaded instantly, instead I can see the site content change after a very small delay when the page loads. How come this happens? What ...
0
votes
0answers
14 views

Using WordPress posts to enrich entirely-custom functionality

I'm an intermediate generalist developer with only a few months' experience in WordPress dev. The next component of a large WordPress functionality extension I'm working on is an Events system. For ...
0
votes
0answers
19 views

Javascript Tooltip not fully working on my wordpress page

I'm trying to implement the following bit of code to create a hover tooltip that follows the mouse: https://jsfiddle.net/mgbv5tzx/212/ I've implemented it on my wordpress page, exactly as in the ...
0
votes
0answers
10 views

How to show default text below every image inside port

I am looking for an option to display default text(site name) below every post image. More like image caption, but t should be same text for all images and should appear automatically. As shown in the ...
0
votes
1answer
13 views

Customizer JS API get value of customizer field

I want to use a javascript plugin on my website that should be initialized with values set in the wordpress customizer. Kirki::add_field( 'artist_theme_config', array( 'type' => 'select', ...
1
vote
2answers
38 views

How to redirect Wordpress home page to custom static HTML page

I am facing an issue while I upload the custom HTML page into my Wordpress site. The page all alone working fine as I put it in separate folder or if I change its name to index.php . But then their ...
0
votes
1answer
28 views

wp_trim_words() does not trim the_content() in WordPress

In my WordPress website, I want to show a short text of each blog_post on the custom blog template. I want to show a Read More button with a link to the post at the end so a user can click on that ...
0
votes
1answer
31 views

Search and Replace in database: How to replace data in SQL dump file on Windows?

Unlike with Joomla, one can't just search and replace a string in WordPress database because of serialized data. I am not sure what serialized data is, but it makes my life more complicated. Is there ...
0
votes
2answers
18 views

problem with filter of custom portfolio categories

I have created a custom portfolio with the following code in the function.php in a custom template. if ( ! function_exists('custom_post_type_portafolio') ) { // Register Custom Post Type function ...
0
votes
1answer
24 views

Multiple content areas with Gutenberg - Transparent areas mid content

I am trying to find a solution to a layout I have been tasked to build using 'Gutenberg' blocks. As far as I am aware there can only be one the_content(); per page. The layout I am trying to achieve ...
0
votes
0answers
13 views

adding custom fields in wordpress default comment form

I have a hotel wordpress website i want user add there review and rating i used default comment functionality in my page but am stuck on how to add a select dropdown field and a rating field in rating ...
0
votes
0answers
23 views

Monitor changes of a column in the wp_users table [closed]

I have a wordpress site that calls an API once an hour to update a column called score which I've added to the wp_users table. I am interested in monitoring changes to user scores over time. I took a ...
0
votes
0answers
20 views

Add custom profile field only for site admins?

I am trying to add a custom field called Company to all site admins on my network. And disable this field for every role which hasn't got the capability to create_users. This is what I have come up ...
1
vote
1answer
19 views

CSS to remove “comments count” icon from main page [closed]

as the title suggests, can you help me on how to remove icons on the homepage that show the comment count of each article? I do not know CSS, and I do not know exactly what to change. I am using the ...
0
votes
1answer
7 views

How to use the same custom page template to iframe multiple urls with entry of new url entered from backend

I am using this custom page template to iframe mulptiple urls. Currently I have been making a new custom page for each new url. I want to be able to use the same generic custom page template, and be ...
0
votes
0answers
25 views

Refactoring theme using OOP [on hold]

I'm trying to refactoring my theme using OOP concepts. I noticed that my templates (single.php, taxonomy.php and page.php) are a little bit messy, I have some custom WP_Query and a lot of ...
0
votes
0answers
16 views

Redirect after login depending on the URL

I am having issue with this part of my function: The idea here is to set the URL to ?login=true if the user logs in via wp-login.php. But if the user visits a restricted front end page which contains ?...
0
votes
0answers
17 views

Custom Icon assigned to menu items not working for multi-site networks

I have assign different custom font icon to each menu item using the_title action hook and is working for single site but not working for multi-site networks. Is there any solution for this issue? How ...
0
votes
1answer
13 views

Put page on Archived statut after end of publication date

I’m looking for a way to put pages on archived statut after expiration of the publication date. First, I add archived statut to the platform (code below). This statut appear if the page is published. ...
0
votes
1answer
15 views

Add a menu item to admin dashboard which isn't a link?

I am trying to add a menu item which is supposed to be a separator which has a height set and divides items in the menu. I haven't managed to create a menu item which isn't a link. add_action( '...
0
votes
0answers
23 views

How to import bluk data in custom taxonomy?

I have created a custom taxonomy. I had successfully added custom fields on that taxonomy using custom code in function as well as using ACF plugin. Now, I can create a new record, edit, update, ...
0
votes
1answer
26 views

Create form which redirects to site in network?

Just created a page in my multisite network where the user can input a sitename and be redirected to the site. This works very well, but if there is a typo or if they enter a site that doesn't exist ...
0
votes
1answer
20 views

POST 429 Error when trying to place more than 20 images into post at once

I’ve come across a bug that I can’t seem to fix and it seems to be on multiple WP sites that I manage / own. The issue: When placing multiple images into a wordpress post it spits out “VM392:1 POST ...
0
votes
2answers
21 views

Delete page titles

I'm making a website with the Primer theme, and it includes a big bar with the title in huge letters across every page. I prefer the titles be in the body of the post, so I want to delete the title ...
1
vote
0answers
32 views

Permalink structure from two digits to one digit [duplicate]

I moved my website from SquareSpace to wordpress, I exported the content and posts, the post url's are most important in terms of SEO but I have an issue here. In wordpress %monthnum% tag is 2 ...
0
votes
1answer
11 views

Redirect user role to a specific page on login in a multisite network?

I have been working on this for some time now. I want to redirect a specific user role to a specific page in the backend on a Multisite install. I have been able to do this finally, but I get an error ...
0
votes
2answers
26 views

Change Notice of Password change email subject?

I'm having issues to change the subject of the email sent out when password is changed. I have managed to change the message by doing this: // Change Email to HTML function function ...
0
votes
1answer
12 views

Display a list of subcategories (from specific Category) a post belongs to

This code almost works, but it brings other categories that I do not want to display (minimun of 1, maximun of 3). I have several categories and subcategories, that can be marked at the same post, but ...
0
votes
0answers
12 views

Edit address field on checkout page

Is there any way to display my account edit address page or fields can be displayed in the checkout field so that customer while reaches to the checkout page after login/registration can view both the ...
0
votes
0answers
14 views

How to remove the navigation links above woo-commerce products for specific user in WordPress?

I have placed a filter in the functions.php file on my WordPress website to filter products based on the role (advertiser) assigned to currently logged in user. When I log in to my site from an ...
0
votes
1answer
15 views

Adding more than one Wordpress Gutenburg block type?

I am currently in the process of creating a Wordpress plugin that allows extra block types to be added for creating posts. I have successfully created a wordpress block type but it doesn't work when I ...
0
votes
0answers
10 views

I want to add plugin files in wordpress theme directory

I added a few lines code in plugin. I want to add that plugins file in wordpress theme to avoid to be overwritten when there is an update. How can I do this?
0
votes
0answers
19 views

Change Woocommerce Product Search Results Page

0 Hi I have a woocommerce site and when you search for products the results page is very weak looking. I used to use the Revelannsi plugin with success to get my search results to look just like my ...
0
votes
0answers
7 views

How change default RSS feed URL of WordPress to custom URL

I need to change default RSS Feed url of my wordpress powered news website to custom one. Like 'example.com/category/feed' to 'example.com/category/mycustomfeed' What is did till now- -Disabled ...
0
votes
0answers
26 views

How to add a full working piece of website already coded, to a large scale Website design project?

I've written 5 PHP files each of which are dependant of each other and contains one style.css also. This whole project works fine when executed alone and includes home.php which includes HTML code for ...
1
vote
1answer
55 views

Add a containing DIV to core Gutenberg blocks

The design I am working with calls for each Gutenberg block to have a coloured background (white in this case) with max-width: 1160px and the content within to have max-width: 800px and centered. ...
1
vote
1answer
12 views

Adding posts to custom menu [closed]

I can’t see a “posts” box to check under the screen option of my custom menu. Help please. I’m lost.
0
votes
1answer
29 views

CPT archive redirects to single post

Ok, the title does not help too much, so let me try and explain. It's a Genesis-based website. I created a CPT: function cptui_register_my_cpts_livestreams() { /** * Post Type: live streams. */ ...
0
votes
0answers
25 views

Ho to display author image dynamically as a background image?

On my puzzle website I would like to display author image on the post area as shown in the image below. The author image would be a background image. May I know how is this possible? Theme is using ...
0
votes
1answer
18 views

Custom Blocks as part of a theme

I'm new to wordpress, but I'm a pretty competent developer. I'm trying to nail down what my client can do to their site. My idea was to create some special 'blocks' for them, which provide the page ...
0
votes
0answers
18 views

Issue with navigation bar in child theme

I have created a child theme of the evolve theme. The evolve theme was not edited before localy and was just downloaded from the offical site. functions.php of child theme: <?php add_action( '...