Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

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

Wrap youtube url in shortcode function using str replace

So i want to use a youtube embed plugin instead of default wordpress embed. I disable the default youtube embed and add a str replace to remove the youtube url just leaving the video id. And i need ...
1
vote
0answers
11 views

How to add textarea field to taxonomy (tag)?

How can I add custom field (textarea) to wordpress taxonomy (tag)? add_action('admin_init', 'tag_custom_fields', 1); if( !function_exists('tag_custom_fields') ) { function tag_custom_fields() { ...
0
votes
0answers
32 views

how to create multiple post with same post id

I've create post using acf for user to enter their post at front end. I have 2 group field :group A and group B. scenario: user need to enter their post and submit (Post A). Back-end admin will ...
-2
votes
1answer
24 views

How do I put a word-press blog into my static site without installing wordpress on server?

The requirement is that the user will post a blog on wordpress panel and it will post on wordpress blog section and on a static website(example.com) too. I am using pure java script and bootstrap.
0
votes
1answer
33 views

How to use wp_set_password in a plugin?

I am developing a private plugin for my multisite installation. I want the user to be able to update their WP password from the plugin settings page. I've tried a few things without luck. In the ...
0
votes
0answers
13 views

Pagination Not Working With Custom Post Type Category

I can't get pagination to work with this custom post type category archive. The custom post type is called 'blog'. <h2 class="category-h2">Blogs Category: <?php single_cat_title(); ?></...
0
votes
0answers
16 views

How to protect or lock the content in certain request [duplicate]

I have locked the certain post page by the plugin.But the content which is stored in /upload/ file can be still accessed by anyone if he konw the url(like http://domain/wp-content/uploads/2020/02/01....
0
votes
1answer
15 views

Is it possible to create 2 unique titles for an Events custom post type: Upcoming Events and Past Events?

I've been trying and failing at trying diff code snippets and searching online for something that works. Posted on the more general forum but saw recommendations to post WP questions on this forum. ...
-1
votes
0answers
15 views

One time form generation

Good morning, sir, I would like to generate a form to be used only once sent to a different email address than the customer with a specific link following a Woocommerce order. Process : The ...
0
votes
2answers
21 views

Hide entry-header for a specific category

I now you can hide the entry-header using css but what if I want just to hide it for a specific category? <div class="entry-header"> <div class="entry-meta category-meta"> <...
0
votes
0answers
18 views

Building a custom app and making friendly URLs

I have built a custom stripe payment integration. The WP site is at root level of domain/public_html The payment integration is accessed under domain.com/payment/ The integration is programmed to ...
0
votes
1answer
24 views

Moving Quantity after product description

Using woo-commerce I need to place the quantity after the description. Below attached screenshot shows expected output.
0
votes
0answers
18 views

Image upload in custom theme settings page

I need to upload a logo image and set other options on a custom settings page. I can't retrieve the URL and upload the custom image, what is wrong with my code? <?php /*** New menu item ***/ ...
0
votes
1answer
20 views

How can i use z-index to stack one image on another?

I am familiar with z-index but no expert. I am building a site using Avada theme, although there is tons of custom code - I've got about 1500 lines of CSS so far. But, if you look you'll see right at ...
0
votes
0answers
18 views

Is it possible to schedule a video call (Hangouts or any other) through an API or a plugin?

I am trying to add a feature to an appointment booking plugin. The feature is that when the appointment is booked, it should automatically schedule a video call on that specified date and send the ...
0
votes
1answer
16 views

Change <blockquote> HTML markup on blog post

My html markup is : <div class="quote-wrapper"> <div class="quotes">MCSE boot camps have its supporters and its detractors. Some people do not understand why you should have</div> &...
1
vote
1answer
18 views

Adding buttons to Add New Post and Add New Page

I want to add a button in Add New Page and Add New Post pages. Here are places I want to add items: New page's sidebar (next to Page Attributes). New post's sidebar (next to Post Attributes). New ...
0
votes
0answers
9 views

Wordpress Slick Slider not working in Scroll me Service tabs [closed]

My Website is https://www.compkkart.in/#home/services and I want to create carousels for each service tab but it works only in 1st tab and not in any other tab and upon resizing my browser it appears.....
0
votes
1answer
22 views

Editing a website made with wordpress

can i edit a website made with WordPress by another person? because a company want me to help them mentain their website and it was built with WordPress
0
votes
1answer
55 views

Wordpress how do I echo SUM from a column of a MySQL table by user id AND type_operation

I have account funds table in wordpress database. Structure like this; Id user_id fund_user type_operation ----------------------------------------------------------- 1 ...
0
votes
1answer
29 views

New Page/Post Screen Opens an Existing Post

When I go to add a post or page to my WordPress site, the permalink and featured image are already populated with a 10 year old post, thus we are unable to create new content. Recent changes done on ...
0
votes
1answer
42 views

Adding new divs with custom classes to products on WooCommerce shop page

In a custom Wordpress theme I need to display product image and product summary side by side on the WooCommerce shop page, so I am trying to add new divs with custom Bootstrap classes; I used ...
-1
votes
0answers
11 views

Let users create lists of favorite posts [closed]

I would like to allow users to create "playlists" of posts. Only logged users should be able to do it (pages are restricted by Paid Memberships Pro). When it comes to UI, I would imagine something ...
-1
votes
0answers
19 views

Cannot figure out how to align a text in Wordpress theme

The Website is: olhapereginets.com, on the About ME page the text is covering the face of the girl. I think maybe the root of the problem is that I don't understand what is forcing the text to the ...
0
votes
1answer
9 views

Header font size - Ninja Tables [closed]

I'm using ninja Tables and in creating my table, I can't reduce the font of the header so I don't cut the word in half, watch the "Data Solicitação", ok it can be "Data" in a Line and "Solicitação" in ...
0
votes
0answers
19 views

Identifying Location of Element

I apologize in advance for what may seem like a very dumb question. I certainly feel dumb at the moment. I am using the Makoto Theme by Elated and simply trying to understand/learn how to customize ...
-1
votes
0answers
22 views

How to create a Wikipedia Styled Infobox in Wordpress

So, I'm in the process of building a Wordpress Wiki Knowledge Base for my website using the plugin MinervaKB. While it has everything I need, it doesn't have the ability to create infoboxes for ...
-1
votes
0answers
16 views

Remove wrapping ul and li from output of wp_nav_menu

Here is the result of wp_nav_menu() and this is normal and the default: <ul> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-226" id="menu-item-226"> <...
0
votes
0answers
13 views

How do I make elements in mobile only reverse order?

First I'm not sure of the best way to word my question. Any help is appreciated and I will revise it. I have sections in web that have alternating order as you scroll text | image image | text ...
1
vote
0answers
16 views

Selecting An image from the Media LIbrary on the frontend

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
12 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
18 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
10 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
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
1answer
53 views

Replicate value of one ACF field into another [closed]

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
29 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
31 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
16 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
14 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
23 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
25 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
53 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
45 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
37 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
29 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
20 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 ...
0
votes
0answers
15 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 ...

1 2 3 4 5 93