Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (10)

1
vote
1answer
306 views

Filter posts by custom taxonomy terms

I am trying to filter posts by author. The 'post_author' is a custom taxonomy and I've included it in my args and posts are showing with the linked author names but when I click on the author name ...
0
votes
0answers
45 views

How do I add a class to every menu item automatically in a nav menu?

At the moment I'm adding a button element around the menu anchors using this markup: $defaults = array( 'theme_location' => '', 'menu' => 'main-nav', 'container' ...
-2
votes
1answer
349 views

woocommerce display product category on checkout page [closed]

I am trying to get product category on check out page for showing a special message for shipping for specific category. For this I have created action filter on woocommerce_available_shipping_methods ...
0
votes
0answers
33 views

Custom Breadcrumb

I have a WP page which Themes supports projects (apart from blog posts and pages) Then, I have some subpages with lists of different projects and by clicking on each project, it leads the project ...
0
votes
1answer
37 views

Convert Custom Table Data Based Plugin To Be Searchable

I've got a client with some very specific requirements for a feature on their WP site for a downloads system. After a lot of scouring of the web I've found an old plugin and made a few changes to ...
0
votes
0answers
45 views

How to add <button> to wp menu using bootstrap 3 framework

I need to figure out a way to add a <button></button> element to a link inside of the wp menu I currently have this markup: $defaults = array( 'theme_location' => '', 'menu' ...
0
votes
0answers
41 views

Assign uploaded file to user

I'm developing a project in which I need to give the logged in user (editors) the option to "give" that uploaded file (media) to a specific user. In other words, i want to add an additional field in ...
0
votes
2answers
145 views

Add category slug as class attribute in a link array

This incredible website and the genius developers here have helped me significantly in the course of my WP Dev over the years, firstly THANK YOU. I am now faced with a problem that I have been trying ...
0
votes
1answer
164 views

Custom Link In Wordpress Media “Attachment Details” Upload Screen

When you click "Add Media" and from there select an image from that media library screen on the right you get a breakdown (the attachment details) related to that particular image. Right below the ...
-2
votes
1answer
42 views

Use Wordpress to create a custom CMS? [closed]

I am new to Wordpress, but i am good with php, javascripts, SQL and with other stuff. One of my friends asked me to do a site using Wordpress for his travel agency. There should be ability to him, to ...
0
votes
0answers
61 views

How to structure WordPress plugin to display data from API

I am creating a plugin that connects to a remote API that has car listings and displays the data that's returned in that call. The plugin essentially does not need to interact with the WordPress ...
0
votes
0answers
19 views

Add field to post form

I have read this tutorial to create forms da compilare per inserire delle schede di Film in un sito, fin quì ok. Ora vorrei fare in modo che quando scrivo una news con Wordpress, possa avere la ...
0
votes
1answer
27 views

Customise the Category Widget

Similar to my Search Widget question Is there a way to customise the Categories Widget? Again trying to add in extra markup. Thanks
0
votes
1answer
68 views

Customise search form in the Widget

I would like to customise the Search Form that you drag and drop from the widgets panel. The customisation will be more than just css changes. I would like to add and custom classes. Is this ...
5
votes
3answers
458 views

Is it a good idea to edit an already existing plugin to add more functionality?

I need to add a relatively small bit of functionality to a Wordpress plugin and I have the option to either edit the plugin directly, or scrap the plugin completely and repurpose PHP code from another ...
1
vote
1answer
192 views

Add Div to Comment Form

I have some code that displays my comment form and my custom validation, what I'd like to do is add a div right underneath the title, but I'm not sure how to do that because that code is generated... ...
0
votes
1answer
47 views

Adding comments section to website integrated WordPress instance

We've integrated a WP instance into our website, and I was wondering how to render the comments template into the page. I've tried simply adding: comments_template( '', true ); But it doesn't ...
0
votes
0answers
57 views

Twenty Eleven child theme anchor top menu not clickable

I am working on child twentyeleven theme. I have to do three things to my child theme. 1-Using page.php coping in my child theme.I added the code in page.php at top of the code <?php if ...
0
votes
1answer
68 views

Style Wordpress Custom Post Type Single Page

I'm registering a custom post type 'events'. The events can be listed using a shortcode, and when you click on an event you go to the single view of that event. Now, I want this single view page to be ...
-2
votes
1answer
22 views

use another theme for just one page

I am a wordpress newbie. Been looking the whole day for a solution. http://codex.wordpress.org/Theme_Development and http://codex.wordpress.org/Template_Hierarchy#Visual_Overview did not give me what ...
0
votes
2answers
50 views

How to make a template for a specific post of a custom post type?

For the Page post type: I can create a logout page in the CMS and create a page-logout.php for its template. I created an Account post type but I can't use account-user-registration.php for a User ...
0
votes
1answer
323 views

Sort posts by multiple meta key values

I'm not new to wordpress, but I'm not very good at PHP. I hope someone can help me, since I already tried to search for a solution for over 5 hours with no luck. So I have an archive.php page where I ...
1
vote
0answers
50 views

Move Custom Fields on General Settings Page to New Location

I've created some custom fields on the General Settings page after studying up on this post: Add multiple custom fields to the general settings page. I'd really like to move them to their own ...
0
votes
0answers
168 views

Show Custom Post id in shortcode button on tinymice editor

I have created a custom post Testimonial for my custom theme and i have to display posts using shortcode , i want a shortcode button on tinymice editor so i create a js file for shortcode button Here ...
0
votes
0answers
11 views

Wordpress metabox can't be shown in the index.php

I got a problem, I have already made the custom post type and i assigned a metabox for it but i can't use it in the index.php. Here is my code: This is for the Custom post type & meta box in ...
0
votes
0answers
106 views

Post Categories Meta Box: Customize Most Used Tab

On the Edit Post page, within the Categories meta box, I’m looking for a way to put custom categories into the Most Used tab for easy category selection. The issue: There are a large amount of ...
0
votes
1answer
17 views

Get new post meta data when (custom) post is saved

When I save my post (custom post type: project) I want to get the meta data for a specific key that I just inserted. Based on the value of that key I insert a product in WooCommerce. What happens is ...
0
votes
3answers
31 views

How to redirect the home page to a custom page?

I had a WordPress site which was moved to a directory called "test". Now, all the urls for the wordpress site is domain.com/test, /test/wp-admin. The main index page is a custom html page for ...
0
votes
0answers
22 views

add classes to wordpress menu links

As the title already says, I am trying to add classes on the WordPress menu item links (so not the li, but the a element). If it is possible to achieve something similar to WordPress its own function ...
0
votes
0answers
75 views

Custom the_content filter?

I have written a plugin which uses a WYSIWYG editor to output a custom success or error message that the user can specify. HTML is allowed within the WYSIWYG editor, and I have used the_content ...
0
votes
0answers
57 views

Nested Admin panel sub menus in single menus

i know how to add custom menu in the admin panel and how to add multiple sub menus in the custom menu. But i want to know can we add nested sub menus in the custom menu (WordPress admin panel)? Means ...
0
votes
1answer
60 views

Unable to retrieve data from multiple Wordpress websites on same server

I am trying to retrieve data from multiple client Wordpress websites on a single php page. So I can monitor all these websites without going through each one. I am able to display data from one ...
0
votes
1answer
217 views

How To Run Multiple Multi-Site Networks On Same Box [closed]

I'm building a multi-site project locally using the VVV Vagrant VM. I setup a sub-domain multisite install with domain mapping and two sub-sites. Everything works fine. This was my sandbox that I ...
0
votes
0answers
19 views

Linking wordpress plugin page with another in the same directory

I am making a plugin page on wordpress admin, that I have connected it using the add_menu_page() command. This page displays a list of custom post type using wp_query. I am trying to link each title ...
0
votes
1answer
27 views

How do I aproach this?(for sale, for lease, sold->move something from a category to another)

First of all, I really apologize for the title of this question. I'm currently working on a real estate wordpress theme for that will feature ads from the town that I live in. I basically want to ...
-1
votes
1answer
163 views

Custom Search only for my Custom Taxonomy Page - data

First of all, my post is related to : Link 1 and Link 2 I made my custom taxonomy page. My Custom Taxonomy Page link is //localhost/myproject/?motion=aamir-khan This page is custom taxonomy ...
0
votes
1answer
232 views

How to Fix an Archive.php That Displays All Posts?

I am currently working on developing my first large-scale WordPress powered site, and I have run into a major problem in my archive.php file. It loads all posts, rather than the categories/tags that I ...
0
votes
1answer
47 views

Tell WP to use a specific template file in posts

I've searched everywhere and tried a couple plugins with no success. I'm using WP 3.9.1. I have to create different ways to show my posts. If they are "standard" they use the single-post.php. That's ...
0
votes
0answers
108 views

Google font doesn't show in theme option

I have implemented the following tutorial in my theme's option panel. http://wptheming.com/2012/06/loading-google-fonts-from-theme-options/ Every thing is working fine. But in the themeoption panel ...
0
votes
1answer
38 views

Add Class according to the order of appearance

My loop returns five posts and the HTML should look like this.. <ul> <li class="topfive"> ... </li> <li class="topfive"> ... </li> <li class="topfive"> ...
0
votes
0answers
43 views

Change the functionality of wordpress users module in admin

I want to restrict wordpress admin to view all users in user list. For say, I have created custom roles (company users, employee). A company user type role can have multiple employees. I want ...
0
votes
0answers
28 views

How to Create clean URL in WordPress custom plugin

I am new to wordpress, On the Login page I have one button onclick of the button I am making a cURL request to the Server. The Server response has to come to the other page which is like ...
0
votes
1answer
68 views

Sort by Custom Post Type (Multiple Loop)

I have changed my set-up slightly to have 2 separate post types "Premium Listing" and "Free Listing" and a taxonomy for Listing_category. Here is an example of my Loop The idea is to display Premium ...
1
vote
1answer
870 views

How to Mass Delete Images from Media Library

I need your help. I am trying to mass delete attachments from a custom post type ('book') using a sql query. I found this snippet on the wordpress form: Wordpress.org I tested it on my local ...
0
votes
1answer
50 views

Is it possible to sync nav menus across multiple wordpress sites?

I was asked by a customer about the possibility to put a menu from a WP installation into another WP, whereas are independent installations, each one for its domain. The point is: I developed a ...
0
votes
2answers
292 views

Change HTML structure for custom menu in sidebar

I've been digging for documentation on how to change HTML output for the "Custom menu" which you place in optional widget. So its clear what I meen I have attached an image of the widget block here: ...
0
votes
1answer
112 views

Custom Widget Area outside theme's border

I'm having an issue i would like your help with. I am a beginner with wordpress and wordpress themes so your patience would be appreciated! I am running a website www.besmart.com.cy and i have used a ...
0
votes
1answer
20 views

Custom blog setting directs blog to index page

In WordPress, I've changed the general settings for my web site to use a static page, pointing the Front page to a custom page called 'Home' which inherits from a template page called tpl-home.php and ...
0
votes
0answers
32 views

How to hide terms if post is equivalent to draft?

The issue is if you are displaying a term list somewhere it will show the terms tied to draft posts as well. How can I make drafts not register to the taxonomy until published?
0
votes
0answers
29 views

Wordpress custom url menu items being overwritten

I am fairly new to Wordpress development. Using a site that runs 3.91 with a custom theme that I have inherited from someone else. My question is fairly simple: I want to add custom menu items that ...