Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

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

Selecting An image from Media LIbrary in a custom page

I'm using Wordpress to create a research tool where archival documents are transcribed into a relational database. Part of this is a transcription interface, a custom page. What I'm trying to do (...
-1
votes
0answers
11 views

How to display error on attribute buttons if not selected as a red outline on them?

I am working on a woo-commerce theme. On the product page when user doesn't select any attribute and tries to add product to the cart, it shows error on the alert box like this I want to make red ...
0
votes
1answer
13 views

I'd like to be able to programatically setup a site to discourage crawling by search engines

I'd like to believe this would be in wp_options, but I can't find the right field.
0
votes
0answers
9 views

Adding dropdown to the page

I have data for different subjects. Let’s assume Subject 1 and Subject 2. I’m trying to have a dropdown on WordPress page, when user selects Subject 1 from dropdown, I want to display a graph using ...
0
votes
0answers
11 views

How do I edit a widget? [closed]

I want to keep the button at the bottom and remove the search boxes at the top. Is this possible?
0
votes
0answers
8 views

Personalized Woocommerce Product with text

We have an amazon store that we allow customers to enter text into a text field and is dynamically displayed in real time. They cannot adjust the location of the field. I have been looking for a way ...
0
votes
0answers
25 views
+50

Replicate value of one ACF field into another

I have a CPT that uses custom fields [created via ACF]. One of them is a repeater type. It works. Among subfields, I have an input field called party_time. In many cases party_time values has format ...
0
votes
2answers
28 views

Custom Background by Page IDs

I use TwentyTwent theme and want to change its background colour by page IDs. I'm not sure but when I check the functions.php, I see below lines which are related to background colours: // ...
0
votes
1answer
28 views

Stop Expansion of Top Level Menu in the WordPress Admin Sidebar

Can anyone tell me how to stop the top level menu items in the WordPress Admin sidebar auto-expanding when that top level item is clicked, or a submenu item chosen from the fly-out menu? For clarity, ...
-2
votes
0answers
15 views

How to add custom option for my theme's menu to add class in sub menu?

I've developed a theme for WordPress with a simple registered menu. my HTML/CSS theme has two types of dropdown menus (narrow, which is one level and wide, which is two levels of depth). Now I want ...
0
votes
1answer
44 views

How to style bootstrap container in Wordpress?

I'm trying to target the following div: <div class="col-md-5"> <article> <h2>Title</h2> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. ...
0
votes
1answer
12 views

Custom order revolution sliders post base slides as inserted in Specific Posts List field

My homepage shows about 10-20 post that are manually selected in a slide. I have used Revolution slider. There is a field Specific Posts List field Where I have inserted post Ids 16427,16557,16822,...
0
votes
1answer
21 views

Custom product status get filtered on all product list views

I registred a new product status with this code : function register_custom_post_status(){ register_post_status( 'invalid', array( 'label' => __( 'Not valid',...
0
votes
1answer
24 views

Highly stylized pages

I'm building my own WP site, with its theme from scratch, and I need 2 very customized pages, including the front page. To give you an idea, a bit like this. (mine will be more simple though) That ...
0
votes
0answers
31 views

Twenty Twenty edit “Read more” text

I am using wordpress Twenty Twenty theme. So I am trying to change the "Read more" text after each blog and this is the function i am trying to do it with. function modify_read_more_link() { ...
1
vote
2answers
39 views

How to pick the default selected value in wordpress dropdown?

First of I am pretty new to this so sorry if this has been asked before but I could not find the right answer for me. I have this dropdown on my website from compare-tech(.)fr I am trying to remove ...
0
votes
2answers
30 views

Is it possible to replace PHP with NodeJS?

I started working with WordPress recently, because I don't have much familiarity with the PHP language, I would like to know if there is any way to program with NodeJS in WordPress.
0
votes
1answer
37 views

Some questions about best practices for custom code

im really new to wordpress so it's currently hard to decide which approaches are better. I'm a developer and there are some wordpress principles im struggling with. What is the best way to implement ...
0
votes
0answers
28 views

How to trigger different behavior in iFrame

I have a website in our company network from which I integrate content to other sites in our network via iframe. The source page can only be accessed with Login via SSO. However, I want to see that on ...
0
votes
0answers
20 views

When developing WordPress plugin, is it a good idea to create my class object by hooking to existing class constructor?

I want to create my object when another object is made. Is it a good idea to create my object by hooking to existing class constructor? for example if the main class is class WordPress_Class { /** ...
0
votes
2answers
18 views

Static Page, need Last and Next links at the bottom

I am new here, I do not have a ton of experience with PHP but if I have a correct block I can work the different functions. I have a static page, currently, I have it set to display 5 snippets of ...
-1
votes
0answers
11 views

How to Receive and Process Paypal IPN on a WordPress Page

I have created a WordPress Page template(listener.php) and then created a WP page using that template.The Page url is like: mysite.com/thank-you. Here is the code i have place in the template(listener....
0
votes
0answers
12 views

Move form validation error messages to top of page

When a user registers on our site (using Ultimate Member plugin, but I think it's a generic issue) and the form doesn't validate, it reloads the page with an error message right down the bottom, where ...
0
votes
1answer
12 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
10 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
4 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
12 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
-1
votes
0answers
9 views

My personal home page

I am working on a personal homepage apt to reflect my personal interests in Christian theology, geopolitics, history, humanities, liberal learning, traditionalism, and Western Civilization. I am ...
-1
votes
0answers
9 views

Pass Vendor ID to Payment Gateway

I want to extend a payment processor Gateway plugin. I need to pass additional Data. I am using WCFM plugin, and my payment Processor needs me to post them Vendor ID (Vendors User ID). How can I ...
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
21 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
18 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
25 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
132 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
18 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
28 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
20 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
28 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
33 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
52 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
32 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
45 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
15 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.