Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

Creating custom “player-objects”

I'm looking for a way to create "player-objects" that are then all displayed on one page. They should just contain a few text-datafields with the players name, role and an image. Since I'm very new to ...
0
votes
0answers
11 views

I can't change my header logo somehow

Im starting of using wordpress.. I use the builder 'elementor' and a theme from 'astra. When I tried changing the logo (costumiser - header - site identity) it changed in the cosumiser but when I went ...
0
votes
0answers
6 views

Query custom post type by custom datetime field, later than field datetime value

I need to Query custom post type (esemeny) by custom datetime field,and show only later than posts that the meta value field datetime. My code working properly but i dont know how to add a Later than ...
0
votes
0answers
18 views

How to use same username account for multiple users?

I have an ecommerce where I need to use same username for differents customers. How can I do that? Thanks a lot!
0
votes
1answer
16 views

Custom CSS working on home page but not on NEW created PAGE

I have this WP website http://darius-mann.com/smardigo/ with a lot of custom css. Everything works fine at the home page. Which is the the last mentioned link. To finish the project I created the ...
0
votes
0answers
13 views

How to disable plugin capability : “create new category”

I tested that a capability can be disabled for any user role, but I found nothing to block the capability of a plugin. Is this possible? any help is greatly appreciated
0
votes
0answers
10 views

Redirect to custom post if custom archive page has just one result?

So i have made a Custom Post Type called cars and 4 taxonomies that i use to make/edit the cars pages. I have a search&filter pro plug-in to help me sort my pages by the 4 taxonomies assigned. It ...
1
vote
1answer
24 views

Is there a way to dynamically get to your uploads folder?

I have a locally hosted site that uses bootstrap to create a carousel with pictures from the upload folder. I currently have the bootstrap markup using the source of the pictures, but I fear when I ...
0
votes
1answer
20 views

Custom API plugin to execute 3rd party API to retrieve data

I am new to WordPress here. I have this request where I need to create a custom REST API plugin where when user triggers the following URL link: www.example.com/wp-json/v1/getCoupon/123456?CouponID=...
0
votes
2answers
25 views

Lightbox not showing image caption

I am using Jevelin theme and their Lightbox should showing image caption from alt attribute. Hovewer it doesn't works. Here is the link: https://www.coleopterafarm.cz/galerie-zlatohlavci/ I am ...
0
votes
0answers
31 views

Polylang will not allow changing of language without translation

I am using polylang plugin to translate a website which uses custom theme. We are using custom post type. We want to use custom translation for that post type. We will not use polylang to translate ...
0
votes
1answer
133 views

Wordpress core jquery version file not loaded?

I try to put a simple <textarea> with an emoji picker (https://github.com/mervick/emojionearea) in my wordpress site (with buddypress installed, actually I put this in buddypress messages). The ...
1
vote
0answers
23 views

Get Custom Logo Alt Text

I'm trying to get the alt text of the custom logo specified in the theme customization. Unfortunately this doesn't work because it seems the alt text is not included in the post meta: $custom_logo_id ...
0
votes
1answer
29 views

Why does plugin_url append absolute file path?

I'm, passing the plugin url parameter to my .js file using: wp_enqueue_script('nova-payflow-plugin'); wp_localize_script('my-payflow-plugin', 'pluginValues', array( 'pluginUrl' => plugins_url(...
0
votes
0answers
14 views

is there a way to set a unique admin theme for each network site

WordPress allows the admin theme color to be changed. Is there a way, plugin or code, to make the admin page of each site in a network to be a separate/unique color?
0
votes
0answers
19 views

the temporary save folder is wrong

when i try to upload image or add plugin to my wordpress website i get this errer the temporary save folder is wrong i try to fix this by creating temp folder in wp-content and fixing wp-config....
0
votes
1answer
27 views

Rate limiting ajax requests in WordPress

I have using ajax requests in my website to verify data provided by user. Already I'm using wp-nonce with minimized lifetime. But unlimited requested are triggered on that ajax action so help me to ...
0
votes
1answer
36 views

Logout after clicking URL link results in “headers already sent” error

Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\wordpress\wp-includes\formatting.php:5688) in D:\xampp\htdocs\wordpress\wp-includes\pluggable.php ...
1
vote
1answer
34 views

Where to add one custom end point and its function?

I just need to register one custom end point and its function (simple code). Where should I add the code in the sources files of WP?
0
votes
1answer
17 views

I want to change url structure of my created archieve pages

i have created custom template in which i have run query from database . in the page i have run loop from database so i am taking id through url to another page and the link is creating like this ...
0
votes
2answers
56 views

How can I have a common background color across multiple WordPress blocks?

On a WordPress page I have a number of H2 headings followed by some text. I'm trying to group all these blocks along with a common background color so that it looks neat and organized. Here is a ...
0
votes
0answers
33 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 Thanx in ...
1
vote
4answers
50 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
22 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
17 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
17 views

Resizing of a header/div in a website through css in wordpress [closed]

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
41 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
23 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
45 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
28 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
22 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
38 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 ...
3
votes
0answers
30 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
71 views

Send a custom WooCommerce email when custom order change [closed]

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
24 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
vote
2answers
23 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
21 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
47 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
24 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
50 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
11 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
8 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
40 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
63 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....
0
votes
1answer
12 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
39 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 2 3 4 5 93