Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Modifications to theme and plugin files to create new functionality.

0
votes
0answers
9 views

Translate homepage of a WordPress site

How can I translate titles in the homepage of a WordPress site? Like "TENNIS" and "CYCLING TOUR" in the following screenshot:
1
vote
0answers
12 views

Show posts by a custom post author

I have a listing site and various authors create custom posts (job_listing) On the listing post itself, I would like to show the links to the last 5 NORMAL blog posts by that author Is this anywhere ...
2
votes
2answers
21 views

Wordpress Menus; adding “custom link” anchors on site home page

My site is using wp-bootstrap-navwalker to implement a nav menu in my custom theme. I want to add nav links to anchored links on the home page using a "custom link". I want to use the equivalent of ...
0
votes
1answer
22 views

How would I correctly implement a new if statement in a child functions file?

I want to make some changes to some Meta within an if statement on a parent function.php file and am doing so via child. The following is a snippet of the parent code: if( !function_exists('...
-1
votes
0answers
12 views

Pictures with caption are not shown in front end [on hold]

Let's say that every time I publish a post with images without caption, they are shown in the post but when I caption them, any single image with caption are not displayed? Anyone has faced this ...
0
votes
1answer
17 views

How to add rewrite rule for product compare page?

I'm trying to create a product compare feature where we can compare three products, Two products must be added while the third is optional. Trying to use the add_rewrite_rule to create a friendly URL ...
0
votes
1answer
18 views

Removing blank space below header

Does anyone know how to remove blank space below the header? I am using the Wiral Lite Theme and the page with the blank space is www.akindvoice.org
1
vote
1answer
65 views

What's the proper way to use a custom table?

I manually added a table to my wordpress database using sql using CREATE TABLE. I want to add functions for adding, modifying, and removing the data from this table just like with wp_update_user(). ...
0
votes
1answer
43 views

How to create a page /1 using <!--nextpage-->?

I am doing this on a post: Content 1 <!--nextpage--> Content 2 <!--nextpage--> Content 3 <!--nextpage--> Content 4 <!--nextpage--> Which divides the content of my post/page ...
-1
votes
2answers
30 views

From a legal perspective, is it okay to customize a plugin's code?

I'm working on a project and an existing plugin (from the WordPress repository) has most of the features I need, but there are changes that I need to make to the plugin in order for it to meet my ...
0
votes
1answer
16 views

How can I use get_bloginfo('admin_email') in a custom PHP file?

How can I use get_bloginfo('admin_email') in a custom PHP file located in the parent theme root directory? I've built a custom form and a PHP mail script separately, but now I'd like to send the form ...
-1
votes
0answers
14 views

How to Send invoice mail in wordpress

how to send pdf link in WordPress theme to customer email. I was tried for try to make this type of mail sending option in my theme. so anybody can help me for working on this theme $pdfname ='...
0
votes
0answers
15 views

Create and list child post without having its URL

How to create child post of a parent post with out having its URL. And Display all the child post on single page of its parent post. just like : https://www.boredpanda.com/how-big-things-really-are-...
0
votes
0answers
21 views

Finding the places saved in database ,nearby the given address using wordpress

I have a custom post named stores ,in that each post contains the full details about the specific store, including the geo location. Then i have a search box in front end where the users can search ...
0
votes
0answers
23 views

Separate Login Page For Every User Role

I am designing a woocommerce website in localhost and i make 3 user roles. 1- Buyer, 2- Admin, 3- Super Admin And rename wp-login.php with my custom url now i want 3 login page for example-: 1- “...
-2
votes
0answers
16 views

Visual Product Builder [on hold]

I am looking for a product builder tool for the heavy equipment industry (bulldozer, backhoe, ect...) I really like how this website's product builder looks and functions: https://www.lodeking.com/...
-1
votes
0answers
11 views

Ultimate Member - allow a particular profile field edit for one role and doesn't allow for another [on hold]

I'm a newcomer in the world of wordpress and ultimate member plugin and I need help of those who have more experience. I know that it's possible to define the visibility for a profile field as for ...
0
votes
0answers
26 views

Replace tag on wordpress

In my wordpress theme, the portfolio gallery is tagging some items without the 'start' tag (so that they load as you scroll down the page). The problem I'm facing is that when the gallery is filtered, ...
4
votes
2answers
96 views

Modify existing plugin function using filter (without modifying the plugin directly)

I have the following function inside an existing plugin: public static function init() { add_filter( 'wcs_view_subscription_actions', __CLASS__ . '::add_edit_address_subscription_action', 10, 2 )...
-3
votes
2answers
60 views

How to create post under post in wordpress [closed]

I want to create post under post. It means, under a main post some of child post want to create and display their content just like https://www.boredpanda.com/creepy-nature/?cexp_id=11782&cexp_var=...
0
votes
0answers
8 views

How add a image beside logo in oceanwp header [closed]

I want to add a custom image beside my logo but I am not able to find a way to do that. I am using Ocean wp theme. can i add a custom image beside my logo?
-2
votes
1answer
31 views

I'd like to add a button under the “Add to Cart” button which says “Buy on Amazon” and links to my Amazon product page [closed]

I'm hoping for some "additional CSS" I can add to my WordPress customization to get this extra button on my product page!
0
votes
2answers
25 views

Moving FB comments at the end of page

I am using plugin "wpdevart facebook comment" for posting comments at the end of every post. They are displaying good But now I want to shift those comments little below of pagination and ads Or at ...
1
vote
0answers
14 views

Post category with counts been display like a menu

It is possible to display a post category list and counts like a vertical menu with some images icon in each post category.
-2
votes
0answers
13 views

Horizontal Bootstrap Scrollspy issue [closed]

When I add the bootstrap horizontal scrollspy to my page the navbar portion fixes to the top, covering the header: How to I get the nav bar fixed right underneath the grey box in the provided picture?...
0
votes
3answers
37 views

Weird problem happening with custom taxonmy when creating/updating posts

I have created a custom post type as well as a custom taxonomy, however when I added my first item and selected a category/recipient something weird happened, it automatically created an additional ...
0
votes
0answers
19 views

Creating a non-hierarchical Taxonomy that behaves like categories

I've created a custom post-type along with a custom taxonomy and everything is fine, apart from one particular thing. First off, my use case: I need it to act like a category system, however not be ...
0
votes
0answers
17 views

Some extra link show on category page [closed]

I See some extra link on the background of my site. Link to my site.
1
vote
1answer
23 views

Private member page

I need to make a private page for subscribers in my Wordpress website I don’t want to use plugins so I’m asking what is better, add the capability to subscribers to read private pages or maybe create ...
-2
votes
0answers
26 views

full static website to full dynamic [closed]

i made a fully static multi page website for a sports club. Now i want it to be linked to WordPress so they can add new stories/photos of events. But i also want it so it will be easy to make a change ...
0
votes
0answers
20 views

Change Menu Item's URL according to Category selected

I don't have wordpress development experience, so pardon me if this question is lame. I want to achieve following behaviour in wordpress menu, I want user to select country , once selected, the ...
0
votes
1answer
9 views

How to narrow the area between buttons on Helium theme sidebar? [closed]

I have WordPress based site. I used Helium theme and added a sidebar. On this sidebar, I added a few buttons from SiteOrigin widgets plugin. The buttons are being spaced between them automatically, ...
0
votes
1answer
26 views

Where to put coding a validation script for store? [duplicate]

I am pretty new using WordPress and was asked to validate the number of items in the cart for an eCommerce site that lets you "make a pack" in which you have several steps, step 1 is a page in which ...
0
votes
0answers
24 views

add_rewrite_tag show Hello World blog post in all pages

I have add add_rewrite_tag function in my theme function file & its working fine where I need it, But its show hello world blog post on other post and pages. add_action( 'init', '...
1
vote
1answer
23 views

Function to allow “Anyone can register”?

I'd been crawling the codex but can't seem to find a function that will allow me to programmatically enable the User registration system. Hopefully, I can make a custom plugin that will enable User ...
2
votes
1answer
101 views

How to handle security on a wordpress site?

I'm doing a draft of a WordPress site on localhost. If I am using PHP snippets to do the sort of back-end functionality. How do I know that, when this goes to a real platform, the php code cannot be ...
0
votes
0answers
18 views

Is it possible to create blog posts that open as new landing pages? (i.e. can each new blog post be a new landing page)

We are a commercial real estate company that updates our properties by posting new blog posts into 2 major categories, sale and lease. I want to turn these blog posts into individual landing pages for ...
0
votes
1answer
23 views

Custom Avatars for Wordpress Comments VIA Website URL?

I've tried a couple different wordpress plugins and solutions but nothing is quite what I'm looking for. I want to adjust my theme/wordpress so that avatars for my Wordpress commenters are grabbed ...
0
votes
0answers
9 views

User custom data show in a table

I want to show the user that is logged in what his/her points and training are in a table. They are both in the user data section in wp. Any suggestions, add-ons?
-1
votes
1answer
15 views

Should I block the “right click” function on my website to Prevent Content Theft [closed]

I'm asking it for the security purpose, so my content never gets stolen. What are your suggestions?
0
votes
1answer
22 views

Page content dissapears after loading the page [closed]

All my pages work fine except those that are superior pages. After clicking the name of the page in the menu and loading the page the content shows itself for like a second and then it dissapears. ...
0
votes
1answer
21 views

Multiple selection for wordpress widget

I created my own category selection widget. So i used <select> but i want to use with multiple attribute. Here is my widget class. It works perfect without multiple attr. But i want to use it. ...
0
votes
1answer
20 views

Should disabling a plugin that has been customized by a developer crash the site?

I have a developer working on customizations to my Woocommerce store. He is using plugins such as ACF pro ( advanced custom fields pro) among other plugins to get get data and basically bring it from ...
0
votes
0answers
9 views

Permalink Issue: Custom URL results in 404

I'm aware this issue has many question threads but none have been able to fix my specific problem! I've got a apparently common issue - whenever I try and adjust my ugly URLS to nice clean custom ...
0
votes
0answers
33 views

Hide a specific plugin

i am using this Gist https://gist.github.com/carlodaniele/5b8343dd17a64c69d04459bffad2312c This works fine, but the problem is i do not want to disable a plugin for a specific page, instead of i want ...
1
vote
1answer
64 views

How to list custom fields as headers and list all pages sharing that custom field under it?

I'm trying to use a custom field of "State" to list all the city pages for available locations. I'm able to get the right results, in the (alphabetical by state) right order with this code: <?php ...
1
vote
0answers
11 views

How to Bind one post object Type with other postobject Type in Advanced Custom field [closed]

In advanced custom field i have two custom field i.e.product and brand . product and brand are custom post types. in product it shows all product post through custom field and brand also it shows all ...
1
vote
0answers
21 views

Post custom Data value in The Events Calendar plugin [closed]

<select name="e_brand" id="e_brand" class="e_brand" required> <option value="">Select Brand</option> <?php global $wpdb; $query="SELECT id,post_title FROM wp_posts ...
-2
votes
0answers
14 views

How to Display post like/dislike counter in one counter

How to display post like/dislike counter in one counter in wordpress. Like : my post likes is now 15 and someone click on downarrow then the counter will be 14. Just like boredpanda.com
0
votes
1answer
15 views

Create dynamic / data driven pages in wordpress

I am driven to create dynamic, data driven, SEO optimised pages in wordpress without having to manually create lots of pages. For example if I know that I sell all my cars in Red, Blue, Green and ...