Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

Filter by
Sorted by
Tagged with
0
votes
1answer
39 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
16 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
1answer
45 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
1answer
26 views

Problem with deleting a “Page”

My developer/designer is being a problem and won't tweek changes to my site... changes I can't do myself because I don't have FTP level ability (if that's the word?). I can only make basic changes ...
0
votes
0answers
19 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
293 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
19 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
76 views

Calculated Fields Form integration with WooCommerce “Products,” “Cart,” “Checkout” or any invoice

How can I integrate an order form I created (custom) in 'Calculated Fields'(CF) plugin with WooCommerce "Products," "Cart," "Checkout" so my customers will get a cost total / quote in real-time? My ...
0
votes
0answers
15 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
34 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
13 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
0answers
31 views

Set a Default CPT taxonomy by taxonomy id

How can I set a default CPT taxonomy by taxonomy id? I don't want to do it by slug. Must be by ID.
0
votes
1answer
31 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
199 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
0answers
16 views

Woocommerce Category Attribute

I am working on a wordpress project with woocommerce. I am new to woocommerce and i need for my client to create some personalization of the admin panel, in order to make the website customization as ...
0
votes
1answer
846 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
2answers
79 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
23 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
138 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
19 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 ...
1
vote
1answer
30 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
102 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 ...
1
vote
2answers
64 views

Hosting a seperate wordpress project on localhost

I currently have a Wordpress project that I've set up to run on localhost in /var/www/html. I'm using a LAMP stack. I want to start another wordpress project, and I've been reading a little bit ...
0
votes
0answers
87 views

Add attribute to existing Shortcode

I have an existing shortcode (from a plugin) and I would like to add a new attribute or parameter to this shortcode. The shortcode looks like this: [my_shortcode_from_plugin_xyz posts="5" autoplay="...
0
votes
1answer
12 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
64 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
21 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
24 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
2answers
185 views

Img alt tag showing different value then entered

I have a WordPress website "https://drgadyabramson.com" I am optimizing the website for better ranking. But the problem is Yoast SEO showing me that "The images on this page do not have alt attributes ...
0
votes
1answer
20 views

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

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
61 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
32 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
52 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
26 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
39 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
33 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
351 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
46 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
22 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

A WP dev site that displays content from a live site's database but cannot write to wp_posts?

Is there a way to setup a Wordpress site that uses another site's database but cannot write to specific tables (like wp_posts)? Basically I'm trying to set up a testing site that I could use to test ...
0
votes
0answers
15 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
17 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
12 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
1answer
60 views

Deleted categories still listed until additional page refresh

I've tried using wp_delete_category() and wp_delete_term() to delete a category, but after the page reloads, the deleted category still shows up in the results of get_categories(). But if I reload the ...
0
votes
0answers
387 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
20 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
89 views

wordpressPCL user meta

I'm using the wordpressPCL library to create new users. I need to insert Meta fields as well, how should I structure this field? private static async Task InserUser() { ...
0
votes
0answers
28 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 ...
2
votes
1answer
934 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
29 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.