The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

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

User upload dashboard

I have multiple user and each user should have the option to upload some documents in his account. I used this function in order to create a folder for each user at the registration process. ...
0
votes
0answers
32 views

Installation failed, trying to install ANY plugin

I get the following error for every plugin that I try to install. Can anyone tell me what is causing this?
0
votes
1answer
20 views

Can I upload my self hosted WordPress website on GitHub as a project? [closed]

I have searched this question a lot Can we call our WordPress Website a project? and Can we somehow upload our Wordpress Website as a Project on Github? I have an e-Commerce based website, which ...
0
votes
0answers
11 views

Passing a variable in a customer url menu

I'm trying to add a link to my menu that leads to the following page: /ar/variable where the variable is the page the user is currently visiting for example: when the user is on page site.com/contact ...
0
votes
1answer
30 views

Show post count in custom taxonomy page

How can I show the post count in a taxonomy page. I tried some codes but I could not get success. I will locate this information on the top of taxonomy page. foreach ( get_the_terms( get_the_ID(), '...
0
votes
0answers
16 views

get_the_terms taxonomy for more than one

I have this Code that checks for a taxonomy called 'video-genres' It works fine, but I want to to check for another taxonomy called 'video-categories'. It must basically check for one or the other ...
0
votes
0answers
13 views

Dynamic pricing based on material & product size area

I sell wallpapers at my store. The price is based on some options. Main options are: Area (Width x Height) Material other options, such as varnish, glue, gift pack, etc. I tried WooCommerce ...
0
votes
0answers
14 views

Check if there are posts with specific ACF field value in current archive query posts

I developed a custom ACF field archive filter which lets you filter posts with ACF fields - similar to Woocommerce product attribute filters. It loops thru all fields in a field group and echos all ...
0
votes
0answers
13 views

Wordpress Search function to include external website

I need to build a search form with two radio buttons. One is to search the Wordpress site and the other is to pass the search value to another website via a query string. The current live site is ...
0
votes
0answers
13 views

Creating a custom search form for custom data NOT for custom fields, categories, taxonomies

How to create a searchable database with a single-field search box in the front end? I have a client who is announcing a recall of one of its products. They are looking to have a single-field search ...
0
votes
1answer
38 views

Create a page that dynamically loads data

I'm wanting to build a page that dynamically loads data into 'sections', very similar to how ebay loads its listings (see below): As you can see I have highlighted each section in red, is there ...
0
votes
1answer
72 views

Advice on how to structure a custom plugin

I am attempting to create a custom plugin and would like some advice/ideas on how best to store the data. Expected Posts ~ 1,000 Expected Users ~ 10,000 Each user will need to have at least one ...
0
votes
0answers
52 views

Structure and hierarchy of new “Sights” custom post

I am about to writing a request to dev team of WPTRAVELENGINE. A WordPress plugin adds a custom post called: "Trips" With taxonomies like: Destinations (main taxonomy for items like cities and ...
0
votes
0answers
326 views

changeset_post_save_failure

when I attempt to save customized changes(customize.php), I get an error: changeset_post_save_failure and when I watch ajax requests I see this error: {“success”:false,”data”:{“message”:””,”code”:”...
0
votes
1answer
53 views

Custom query pagination with php parameter as arg problem

I have create a loop with a custom query. This query contains a php parameters that i m getting from url with GET method. The problem is that the pagination (even if it counts the posts correct at ...
0
votes
0answers
25 views

Need to replace some text string on a title

we are using Bridge theme in Wordpress as a basis for a restaurant menu. This menu has titles of food that in the plugin template (restaurant-menu-list-item.php) are called to be printed on the screen ...
0
votes
0answers
55 views

WordPress with Web3Js

I am coming from a Node.Js environment and recently tried WordPress for fun. I have been able to create dAPPS with Node.Js by using ethereum's Web3.js and by connecting to an INFURA node. I am able ...
0
votes
1answer
27 views

Problems with setting up a subdomain to serve images and scripts

I'm trying to optimize a site and the last thing I want to do is to serve static content with a subdomain that will be without cookies, and I have a problem with that. I tried a couple of things to ...
1
vote
1answer
35 views

Change WooCommerce product price based on category and GEO IP country

I have a very specific question. In Belgium we need to add a BEBAT tax when you sell batteries. I'm now trying to figure out how I can tackle this. The code below works until a certain part so I hope ...
0
votes
1answer
25 views

How can I delete the word `Category:` from page titles? [duplicate]

If I installed a new WordPress with twentysixteen theme and went to uncategorized page, I will see at the title something like Category: Uncategorized how can I remove the category: word from pages ...
0
votes
1answer
39 views

Where in code to replace content before display of page?

I wish to make a replacement in all pages of a WordPress installation, after the page content has been read from the database and before it is displayed on visitor screen (of course). Where in the ...
0
votes
1answer
31 views

Custom roles and capabilities media not work right

Help with new user wordpress capabilities and roles custom. The media not work upload and display images in galery. image error: https://i.imgur.com/1bPbcAm.png code: if ( get_role('user_products')...
0
votes
1answer
39 views

How can I add category variable inside posts?

I want to add a category variable along with the date variable that post has been published. For example, when I go to a post, I see the following under the post title: last updated on May 10, 2019 ...
0
votes
1answer
155 views

Updating Custom WordPress User Meta Field via REST API

I have created an empty user meta field for a user called phone_number via the add_user_meta() function. When I use the get_user_meta function, I can see an empty string for the meta field which is ...
0
votes
0answers
55 views

Save custom css class (and data) to core/columns block

I wish to add/change class for this div: <div class="wp-block-columns has-2-columns"> There is no possibly to use "wp.blocks.registerBlockStyle" because it doesn't work for core/columns blocks ...
0
votes
0answers
16 views

ninja forms spam protection input uppercase

I'm using Ninja form spam protection input field, where you choose an answer to your question. Does anybody know how you can force input to be uppercase? I've found a lot of code strings but none of ...
0
votes
1answer
17 views

How to include custom PHP file both in header and footer files

I have created a custom file that both the header and the footer needs to render certain content. If I only do include($_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/myTheme/myCustomFile.php'); in ...
0
votes
0answers
19 views

Is there a hook to add template overrides while the plugin is activated?

I have created a plugin that uses tribe_events_template() to add additional directories for the Modern Tribe plugin to look in for template overrides. The problem is that tribe_events_tempalte() is ...
1
vote
0answers
21 views

need help with a user-specific custom page template

I created a custom page template that will show sales from a hotel. I have 3 users and I want each user to only see their hotel sales on a user profile specific page. The template calls data using the ...
0
votes
0answers
30 views

Customize wp_login_form appearance

I embedded a login form in my websites header for not logged in users. I added it using this code in my navigation-top.php: <?php if ( is_user_logged_in() ) { ?> <?php } else { ?> ...
1
vote
0answers
17 views

Woocommerce custom search

I want to build a search form on the homepage where people can search by Product Name Product Category Price range I have found a few results, but a lot of them are filters which display products. ...
0
votes
0answers
19 views

Why custom page do not work all the time

i have a wordpress site that has a two custom pages. When you select a link to find store it takes you to a list of schools and than you select a class from a list. most of the products work but a few ...
0
votes
0answers
18 views

WordPress and Azure Directory

We have a WordPress website that is synced with our Azure company directory. This allows users to access this WordPress website with their Email and password SSO (single sign on). Instead of users ...
0
votes
1answer
28 views

Changing the the_author_posts_link() hover title

Is it possible to change the title="" attribute that Wordpress generates with the_author_posts_link() ? It is currently displaying 'Messages of [User]' as a hover title but I wish to change this to ...
0
votes
0answers
7 views

LayoutConstructor “Recent Posts”-like “Selected pages”

I use a theme which makes use of Thememakers LayoutConstructor plugIn. It's a modular system, making flexible layout construction possible. One of the modules allows, to place a teaser of your blog-...
0
votes
0answers
27 views

Dynamically populate Wordpress menu with custom taxonomy

I have a pretty long custom taxonomy and don't want to manually put it into my menu. Additionally I have to do it for 3 languages (using Polylang). Any ideas how it can be done dynamically?
1
vote
0answers
14 views

How to categorize posts under Category 1 and Category 2 which are separate lists of categories, and display them as separate lists in widgets

Background My site is about DIY and 'making' around the house (let's say). Current version 5.1.1 I use posts for the content on my site which isn't strictly in "blog" (chronological) format in that ...
1
vote
2answers
23 views

Show post page only if the user has bought a specific product

I'm having troubles with Woocommerce. I need to sell videos. I've created virtual products with a link to a different post for each (no download as I prefer to embed the video on my website and to use ...
1
vote
1answer
24 views

How to get rid of from overbooking car rental website [closed]

I have a car rent site where people can book a car for their needs. The problem is my vehicles are limited so after booking a car I want to immediately show an alert for the next 1 hour that it is ...
0
votes
0answers
15 views

Can I make a certain table appear based on conditional logic in a field?

So here is the situation. I am making a website that sells a certain service (don´t worry, nothing NSFW). Now I am given a following request: to make a page with a single field that asks for a ...
0
votes
0answers
6 views

I couldn't save the things I changed in customization

Hi everyone, I have an annoying issue on customize. So when I changed the menu, font, font size under the customize status, draft saved. But when I go back to the site to view, none of the changes are ...
1
vote
1answer
29 views

Can I differentiate between “Delete Post Permanently” and “Empty Trash” and do something for each accordingly?

I'm currently working on developing a plugin with a custom post type of "Dealer Location". (Not relevant to question, just a bit of background) When a post is in the trash and "delete permanently" is ...
0
votes
0answers
94 views

Password Protection issue

I am currently working with a client that has photo and video galleries which are password protected. The company throws monthly parties and at the parties they hand a card to everyone coming in the ...
0
votes
0answers
18 views

How to filter error message when requesting more product quantity than is available

I'm trying to filter the message that shows WooCommerce, when the product reservation is not allowed. The message that is displayed when you want to add in the cart more stock than is avaiblable. ...
0
votes
0answers
4 views

Different section/crop of the same picture is showing on different screens

I have a problem that I can't seem to find the solution for. I'm editing a webpage with Elementor. The webpage has a picture slide, and a different section/crop of a picture is showing on different ...
0
votes
2answers
28 views

how to display a specific wordpress menu?

Below is my code: wp_nav_menu( array( 'menu', _('My Custom Header Menu'), 'theme_location' => 'my_custom_location', ) ); And as result, I obtain all ...
0
votes
0answers
29 views

How to connect zapier and wordpress?

I have a site, where users can create accounts and store some data. What I try to reach is to allow users to connect their accounts to zapier, and pass data. In other words, allow a user to specify ...
0
votes
0answers
15 views

Comment input hiding when clicking on reply link

I am building a wordpress site. There I noticed when I click on 'Reply' link in wordpress comment section, the textarea for posting the comment hiding. I need to show both comment textarea and reply ...
1
vote
0answers
30 views

get search results from only specific page name in wordpress

I have created a page by using add_submenu_page: add_submenu_page( "pharma-plugin", // parent slug "All Trade Name", // page title "All Trade Name", // menu title "manage_options", // ...
0
votes
1answer
37 views

Add a custom intro page

I made an animation for an intro page with HTML, CSS,javascript and some images, it's all in one file, what do I need to do to, to display it first and then go to the regular template. I've already ...