Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

Filter by
Sorted by
Tagged with
-1
votes
0answers
10 views

How to add editing options to the front page title

I’m using the mcluhan theme ( https://andersnoren.se/themes/mcluhan/ ). The front page title in the original theme live demo is: “McLuhan is a clean and simple WordPress theme, featuring a front ...
0
votes
0answers
7 views

Can we add an extra button on woocommerce shop page and use it to send the product info including image in a mail?

I want to add an extra button after "add to cart" It will open a form with only email field After submitting an email id, it will send product name, image, description to that email id
1
vote
4answers
35 views

Show Two custom Post type and their posts on category page

I have Two Custom Post Types "Article " & "News" and they both use same categories like [ audit , income , tax] . I want when i open audit category page then the post showsn like below: the code ...
1
vote
0answers
19 views

How can I make my wordpress website look same like Astra theme demo? [closed]

I've installed Astra theme by Brainstorm Force. I really liked there demo. but I wanna know how can I make my website look same as the demo. I've tried the One-Click Import plugin. but it didn't ...
1
vote
1answer
13 views

Updating Existed RocketTheme Theme on Wordpress

I have a legal RocketTheme theme for Wordpress. I installed it while it on version 1.5. Now, version 1.6 released. How can I update theme without corrupt my theme customizations ? Thanks.
1
vote
1answer
15 views

Resizing of a header/div in a website through css in wordpress

How can I resize the mentioned header/div of my WordPress website? I have already tried it through checking the div name by going into Inspect Element but it is not working. One thing more the size ...
0
votes
1answer
37 views

Two different custom post types with same slug in wordpress

I created two different custom post types in wordpress. But I need same slug for both custom post types. But Only one custom post type is working and another post types is showing as 404 not found. ...
1
vote
0answers
21 views

Contact From 7 Custom Validation Issues

Here is the situation: I have to make a textarea a required field when the user selects "Other" in a dropdown. That does work, however whenever I try to chec if the validation on all other fields ...
1
vote
1answer
35 views

How can I add data to a custom column in the Users section of the wordpress backend?

Can anyone help me with adding data to a new User table column that I added? In the wordpress backend, in the Users section, I added a custom column called "Last Name". Now, I'd like to add last ...
2
votes
0answers
24 views

How to re-arrange media uploaded using : media_handle_upload() as per year / month

I have been facing this issue that all the new media files are getting uploaded to single folder which was auto-generated during initial site development. Now since all new images are getting uploaded ...
1
vote
1answer
20 views

Time based access control of custom post types - what is good approach?

I have a site where I teach courses. I want to have my courses run each quarter. So I would have Course 1 - Fall 2019 Course 1 - Winter 2019 Course 1 - Spring 2020 Course 1 - Summer 2020 The course ...
1
vote
0answers
26 views

How to add an extra button on woocommerce shop page and use it to send the product info with image in a mail? [closed]

I want an extra button beside "add to cart" which will open a form with only email field and after submitting, it will share product name, image, info with branding and backlink to the webpage in a ...
2
votes
0answers
14 views

Gutenberg Blocks - Attributes from comment delimiter or from HTML?

I wrote a custom block and am trying to better understand the interplay of the JavaScript and PHP on both front and back end regarding blocks. Say I have some block that I want rendered dynamically. ...
1
vote
1answer
18 views

Send a custom WooCommerce email when custom order change

I am facing a problem to send a custom email when order status changes. I created a custom WooCommerce email 'WC_Ready_To_Ship_`Email' and a custom WooCommerce order 'wc-ready-to-ship'. What I am ...
1
vote
0answers
20 views

Gutenberg block outputting JSON in front end - is this normal?

I have a custom block that modifies an Ultimate Add-On Gutenberg Section Block, so that I can define section types, such as exercise and apply some custom formatting. I noticed on front end my ...
1
vote
0answers
21 views

Find resources dynamically loading and change or add to the url

Is there a way using the wordpress functions.php file that I can: Find a resource trying to load from a url and add to it or change it. For example, if a .woff file was loading dynamically from a ...
-1
votes
0answers
23 views

How to change the url of the uploaded media

My client wants to change the URL of the uploaded media files as well as they want that the images and pdfs store in an organized way. First let me tell you how do they want their uploaded media ...
1
vote
2answers
19 views

How to change the category url jusy show /category/%category_id% in wordpress?

I want to change the article url as "www..com/post/%post_id%". For example, www..com/post/156/ And now, I did it. But I don't know how to change the category like this. For example, www.***.com/...
0
votes
0answers
10 views

plugin not deleting updating and installing. And aslo after customize not publishing

this throwing at the time of updating, deleting and installing any plugin. And the inspect element console is showing that 404 not found. customizer also showing problem. After editing something in ...
0
votes
0answers
20 views

Simple Add To Cart Ajax Button

I need the simple add to cart ajax button on my image how can I achieve this thanks. Website reesh.co.za. Please as I need to implement it on the website. I'm using the astra theme
0
votes
1answer
13 views

Latest update broke my custom login CSS

After updating to WP 5.3 I am having trouble removing the border that was added on the login page. I have managed to remove it everywhere, except when I am entering the wrong password/account name, I ...
0
votes
1answer
16 views

Wordpress 5: including larger thumbnail image sizes in srcset than I have set

I have set image sizes in my functions.php, such as add_image_size( 'article-lede', 500, 600 ); It shows up in Regenerate Thumbnails, and I regenerated them. So I upload an image to the media ...
0
votes
0answers
23 views

Querying posts that don't have a certain key value or don't have the key

The intention is to search for customers who do not have coupon X or do not have any coupon. $query = array ( 'post_type' => 'clients', 'meta_query'=> array( ...
0
votes
1answer
35 views

Rename WooCommerce sorting dropdown options [closed]

How to rename the WooCommerce sorting dropdown options and customise the wording? For example, change "Popularity" to "Best Selling" or "Price: Low to High" to just "Price Low to High" without the ...
1
vote
0answers
7 views

Custom Post Type - Category Rewrite - Remove Rewrite from Sitemap

I've got "case_studies" post type and categories for it as "case_studies_categories" with a rewrite to include category in URL. Everything works, but for some reason, rewrite url is in sitemap (as ...
0
votes
0answers
7 views

Woocommerce 3.8.0 cannot add title to new product after update

After updating to the above version we cannot create new products because there is no input field for product titles. Existing products created before the update contain titles, but these cannot be ...
1
vote
0answers
38 views

Overide plugin files from child theme (/inc/ ) folder

I would like to change the rendering of specific part of a plugin from a childe theme, so that I wont loose my changes after plugin updates. Well the plugin start by doing this: add_action( '...
0
votes
0answers
45 views

How to prepend block content in getSaveElement filter?

I am using JSX format to make some edits to block content. My code is // do something with these attributes - add header to section if exercise type block const addContentTypeExtraProps = ( ...
0
votes
1answer
22 views

Dynamic “home” image and URL based on current folder

We have multiple brands and are wanting to combine them all into one domain. When a user visits a page that is under a particular brand, we want the logo and URL to change. Examples: https://www....
-1
votes
0answers
16 views

Mobile and Tablet version is not working on page

Below you can find the desktop, tablet and mobile version. Price page content is showing up on tab
0
votes
1answer
8 views

Change admin avatar only (without Gravatar or plugin)?

I don't like the idea of using Gravatar, and I don't want my users to be able to change their avatar. However I want to replace the avatar for the admin role only. Is it possible to do this without ...
1
vote
1answer
35 views

Change the Labels of Users to Customers in Admin

Ok, I've been searching for over an hour for something I thought (and still think) is pretty simple. I need to change the title Users to Customers in the admin for a client. I can and have easily ...
1
vote
1answer
18 views

Change the site tagline (or similar) based on current page

I have a client with 4 very specific areas of service and they want so show the service name under the site logo but only the pages related to that service. E.G. the Real Estate page and ALL of its ...
0
votes
1answer
16 views

Customized Blog/Latest Posts Page

This question is sparked by some issues I'm running into using Elementor, but it's not an Elementor-only question. I'm trying to create a customized static blog page/latest posts page. I currently ...
0
votes
1answer
17 views

Basic wpdb update question

I can't get this to work and I don't really know how to debug it. In the URL I'm getting this added: ?candidat=41&selectCandidate=selectCandidate global $wpdb; if(isset($_POST['...
1
vote
2answers
17 views

Comparing two WordPress installations

I searched a lot trying to find a solution to this. Hope someone may have an answer. I have two Wordpress installations that supposedly are identical. One is on a production site and the other is on ...
1
vote
2answers
21 views

Replace “WordPress” word in title of Dashboard

I would like to replace the WordPress word in title of Dashboard. Original title: Dashboard < Site Title - WordPress Expected result: Dashboard < Site Title - foobar I tried to do this with ...
0
votes
1answer
19 views

How to start editing my site with Wordpress?

I'm new to wordpress and I already read a lot of articles and watched a lot of videos but still can't find a single solution to my problem. I already bought a hosting and the site is up on the web. ...
1
vote
0answers
27 views

how do I remove the shipping from woocommerce thankyou page and from the email

I've been trying to remove the shipping completely from my woocommerce website. I was able to remove it only from the checkout page and the cart page BUT I want to remove also from the thank you page ...
0
votes
1answer
38 views

Custom page for creating/editing custom post type

I'm creating a website based on WordPress, but it's not a blog and very much a sui generis website, so I'm developing a plugin that will add the various features I need. In particular, I have created ...
0
votes
1answer
11 views

How to create custom search form function including post “tags”

This is my HTML: <input type="text" class="keyword" name="keyword" id="keyword" placeholder="Search video..."> <button id="search-keyword">Search</button> When I click the "Search" ...
0
votes
0answers
15 views

Change reset password hook?

When users create an account they get an email to set their password. Currently, it goes to the default https://example.com/wp-login.php?action=rp&key=hFRwAiQxbz634rmjHuWgU&login=username ...
0
votes
1answer
22 views

CSS Styling a specific page

I am familiar with styling specific pages on WordPress by adding a class .page-id-123 in front of the styled element. However, this doesn't seem to apply to "subpages" (sorry don't know what they ...
0
votes
0answers
29 views

New posts not visible

I've a website. It was initially developed by a different developer. It has custom template work done to it. In the wp-admin "projects" can be seen in the menu. When I click all projects, all ...
0
votes
0answers
14 views

how to get custom post type description from category id

<div class="container"> <div class="row"> <?php $args = array( 'post_type' => 'add_your_custom_post_type', 'posts_per_page' => 10 ); $loop = new WP_Query( $...
0
votes
0answers
20 views

Different wordpress html menu markup?

I need to make 3 level menu. Dropdown tabbed style menu. The markup I get now is the default one: <div menu-container> <ul level-one-menu> <li> <a>Dropdown&...
1
vote
0answers
26 views

Incorporate small angular feature in my wordpress site

I want to add an angular feature in my wordpress site, but i m confused how to incorporate both. I m jus confused about folder structure for the same Or i can create a plugin?? My angular feature is ...
0
votes
0answers
24 views

remove screenshot.png via dashboard

How can you remove screenshot.png, or change it if removal is not an option, via the WP dashboard? I know you can do it with FTP. Thanks.
0
votes
1answer
25 views

add_feed rewrite overwriting standard permalinks

By doing a simple: add_feed( 'schedule', 'my_schedule_feed' ); I have created a feed at /feed/schedule/... easy. But when I go to /schedule/ (which is a page) it is now showing the feed! Looking ...
0
votes
2answers
32 views

How can I create a Custom Page? (not a page template!!)

I would like to have inside my theme folder, a folder where I can leave all the portion of code and snippets that I don't want to use anymore or I just want to save for a while, and accessible every ...