Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (9)

0
votes
2answers
291 views

Selectbox in admin panel function linking to CSS

I want to link the selectbox to my CSS. Like if I click an item on the list, the background of my header will change - the header's color is in the CSS. The selectbox isn't in the html but it's in ...
3
votes
3answers
390 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 ...
0
votes
2answers
136 views

CMB select with data from CPT

I'm using the CMB framework for creating metaboxes (https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) and I want to add a select box which prepopulates with titles from a custom ...
-2
votes
1answer
19 views

Create a page in a plugin , like woocommerce

I want create a plugin with custom posts. Which post will be shown in the single page from the plugin, just like woocommerce single products are shown. How can I do it. I saw it in many plugins as ...
1
vote
1answer
24 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
2answers
496 views

NextGEN Gallery - open all images on page in fancybox

For now, I am not using NextGen Gallery. For now I am adding class="fancybox" and rel="gallery" to each image and it opens all images within a page in fancybox. However, client wants to start using ...
0
votes
1answer
12 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
1answer
284 views

Missing current_page_item in custom menu

I'm using the new custom menus in my side navigation and it only creates a class sub-menu in the UL's but does not use the current_page_item like when you use wp_list_pages(). I have 3 levels and only ...
0
votes
0answers
15 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
22 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
15 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 ...
-2
votes
0answers
23 views

Front End editing of entire site

I am looking for some help to create custom plugin that will enable admin user to manage CMS part from front end. Actually I want to restrict admin user to go in backend. So CMS portion like ...
-1
votes
0answers
15 views

if this kind of project possible in wordpress? [on hold]

i have some questions. i am planning to create my own “management crm”. so i looking for plugin that can give me the next options to build it in the way i want and need to my business. this project ...
0
votes
2answers
554 views

How to display only one category in a custom post type?

I have a custom post type called 'portcat' and I want to display the results of only one portcat category ('games' - which has an ID of '3') on my page. The below code displays all of the categories ...
0
votes
2answers
760 views

Prevent pre_get_posts filter on specific post type

I am running into one issue with pre_get_post filter. Actually I have 4 post types. Post, Pages, Events, and Venue. I created one custom field called city for event and venue post type. When ...
0
votes
1answer
291 views

Custom Search Query

I'd like to set up a custom search page that does the following: User checks off several items in a form that he'd like to see returned in his search (essentially choosing from a list of tags). ...
0
votes
2answers
33 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
0answers
14 views

How to add Publicize support for portfolio type of Virtue theme [closed]

I am trying to add support for Publicize - a feature of Jetpack - in the theme I am using - a modified version of the Virtue theme. There is a file lib/init.php in the theme's root directory that ...
0
votes
2answers
2k views

Attach pdf file to custom post type

I am trying to attach a pdf file to a custom post type. I have found this snippet at wpsnipp.com. The code does the trick, but only for posts. I have a custom post type named 'events' and I can't ...
0
votes
1answer
29 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 ...
0
votes
0answers
13 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 ...
-2
votes
3answers
299 views

How to edit Zinnia theme, or possibly any theme? [closed]

I am very new to WP. I recently started using it for my web site and I choose the Zinnia theme. I don't know if I am just very green on this WP stuff but I am finding it hard to edit things in this ...
-1
votes
0answers
7 views

Update timezone in post [closed]

Use case: I used to post Timezone in my blog July 23, 9:30 PM IST. Is there any way to convert this timezone (inside post) according to user location. Like if a user is visiting my site from US the ...
0
votes
2answers
210 views

Custom Taxonomy Sort For a Custom Query

I am trying to custom sort taxonomies on a custom query I have written for one of my website I cannot use any custom plugin as I have tried and they do not work with my current setup. ...
2
votes
1answer
747 views

Integrating the Wordpress admin panel with a frontend theme

I am building a Wordpress membership site where I need to collect user generated content in form of: -posts -events -classified ads I am using three plugins to accomplish this. However I need to ...
0
votes
1answer
347 views

Admin only menu/page

Is it possible to show a menu item If only admin is logged in) For any other user the menu item does not appear. For example: if there are a few pages that have shortcodes or other functionality ...
0
votes
0answers
10 views

all in one event calendar recurring event display event start time and duration [closed]

I have been stuck on this for a while, I have written a custom query for using this example All-in-One Event Calendar: Custom Query - Getting each event Instance I am however having a problem with ...
0
votes
1answer
420 views

Load post content into iframe

I would like to load a Wordpress post into an iframe when a link on a wordpress page is clicked. This is the link I currently have. <a href="' . get_post_permalink($sight->ID) . '" ...
-1
votes
0answers
14 views

Youtube video embed in custom player [closed]

How I can embed youtube video in custom player ? I see this plugin: https://wordpress.org/plugins/zd-youtube-flv-player/ I try but not work anymore, anyone know how I can embed any youtube video to ...
-1
votes
1answer
36 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
328 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is ...
0
votes
2answers
2k views

Removing Fields From the Profile Page of Theme My Login Plugin

I would like to remove fields from the profile in Theme My Login. I want to remove everything except email and password field. I am able to hide fields using a little jQuery. But un fortunately I'm ...
0
votes
0answers
27 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
1answer
242 views

adding a disabled text field that only activates upon selection [closed]

i am creating a contact form in which i will be adding a drop down menu with multiple options and i wanted to add a text field that is deactivated by default but only activates when the specified ...
0
votes
0answers
8 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
1answer
393 views

Multiple keyword search

I have a custom search where I want to enter a keyword or phrase into the search box, and then by pressing enter it adds it to a 'search storage' (already coded, see below). Asume I have 3 posts, one ...
3
votes
1answer
252 views

Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?

Essentially I'm trying to add multiple sub nav menus and I'm pretty close but I just can't seem to find the right tack to solve my problem ... I'm using a variation of a Stu Nichols CSS Menu ... ...
0
votes
0answers
26 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 ...
2
votes
2answers
2k views

Customizing gallery shortcode in 3.5

I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
0
votes
1answer
13 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
21 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
2answers
936 views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
0answers
18 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
14 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
10 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 ...
3
votes
1answer
240 views

Using Vagrant for customizable Wordpress Multi-sites

Background: My partner and I have a goal to create a customizable vagrant project that uses Wordpress multi site, as a local development environment. Ideal Use Case: Various developers on our team ...
0
votes
1answer
338 views

How to include plugin function in theme's functions.php file

Good day, I'm trying to reduce the jquery dom manipulations by including the right plugin functions in my theme's functions.php file. For example, I have a link which triggers a jquery dialog, which ...
0
votes
1answer
660 views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php ...
2
votes
1answer
233 views

Two Navigation Menus - secondary nav is including main nav

Two Navigation Menus in Themes Produce the same menus? reference the subject on page link above. i created two navs, yet the secondary nav includes all pages. the main nav is fine, but the secondary ...
0
votes
1answer
29 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 ...