Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (15)

4
votes
3answers
10k views

get post author id outside loop

I need to place in post edit dashboard metabox with post author e-mail (or other user meta fields). So it can be edited when admin reviews this post. $meta_id = get_the_author_meta( 'user_email', ...
0
votes
1answer
49 views

child_of not working while searching

I'm trying to limit search to a parent page and its own child pages. I've changed searchform.php adding this code: <input type="hidden" value="<?php global $post; $ancestors2 = ...
0
votes
0answers
57 views

How to request login for user but not for bots

I wondering, how to not requesting bots like google crawler or bing crawlers to login since they can crawl my post info, but require user to login if they want to see the posts? I already know how to ...
0
votes
1answer
167 views

functions.php / replacing div's with new ones?

I'm not sure the best way to tackle this one: I have a menu I saw and like and want to use it as a basis for my own. I have the CSS for it. On the page it comes from its all labeled differently to my ...
1
vote
1answer
44 views

Leveraging Wordpress Comments on Custom Plugin Object page

I have written a plugin that creates it's own tables to house the necessary schema for client's product. Then I created a single page that retrieves the custom object via passed in query string like ...
0
votes
2answers
333 views

Plugin function inside custom plugin

I am trying to use a plugin function ( wp-bannerize() ) inside my custom plugin. but when i write: if( function_exists('wp_bannerize') ){ echo "exist"; }else{ echo ...
0
votes
0answers
50 views

How to place the captcha just below the comments text area

Hi I am new to word press. I have downloaded bot detect captcha. It is working finely. The only problem is that the captcha appears above the comments text area. I need it to appaear just below the ...
0
votes
2answers
439 views

Modify Gallery Output to render differently on a PAGE and a POST

I'm still learning Wordpress and slowly getting better, but my skill set is not up to par for the changes I am asking for. I need to customize the gallery output for two sections on my site: 1) ...
2
votes
1answer
106 views

Add 'Right Now' widget to custom dashboard

I have created a custom dashboard page to which the user is redirected when logged in. I want to include the 'Right Now' widget to my custom dashboard page. How do I achieve that ? class CustomDash { ...
0
votes
1answer
74 views

Adding Meta box to thrid-party plugin

I am about to write a custom plugin that is intended to »extend« a third party plugin, in this case it is: »EME Events made Easy«. I would like to add a Metabox to the »edit event« screen, from within ...
0
votes
0answers
39 views

Multiple posts categorized by day?

I would like to set up my home page so that multiple post uploads (with no limit to the number of posts which can be uploaded) can be categorized by the day. These post uploads will mostly be videos, ...
0
votes
0answers
29 views

How can I Direct custom post type to template

For example: I have a custom post type named mycustom. in mycustom i have taxsonomy called "type". I want all the types, belonging to mycustom, will appear in the Template category-mycustom. Also, ...
0
votes
1answer
77 views

Trying to achieve row posts below category with multiple loops in custom tax

hoping someone here can help a noob. Ideally I'd like to get a featured post from a category 'Featured Club' to display above three posts from the same custom post type. I've got the following ...
0
votes
1answer
95 views

Custom meta boxes not saving

I am trying to create a custom meta box with 12 fields. there are 3 groups of 4 fields so i am using a for loop to create them to save on typing etc. for some reason i can't seem to get them to save. ...
0
votes
1answer
33 views

Widget header unique classes

I have created the code below for one of my widget sections. Currently I am able to manipulate the title bar with (h3.home-widget-header) which is good. But obviously it will be for all widgets in ...
0
votes
1answer
171 views

custom post type vs. conditionally displaying meta boxes for specific terms?

The Problem: My personal blog resides at example.com, and I want to create a bookshelf where I share all the books I read or plan to read. I could do this in two ways: Create a category called ...
0
votes
1answer
541 views

Taxonomy Category category.php not working

I have created custom post type, taxonomy and categorys. When viewing the category it seems to be using index.php and ignoring the WordPress template hierarchy. Any ideas why category.php, ...
0
votes
1answer
21 views

Custom section (e.g. Demos or Downloads)

On my website, I want to display a page where I will store all my demos, which should function just like a blog (so I can add new records, edit them and specify custom meta data and list all of them ...
0
votes
1answer
151 views

Can't change theme name

I am developing a theme and it currently has no theme information. Right now it is pulling it's name from the theme folders name and the "Author"is anonymous. I tried changing it by adding code into ...
0
votes
0answers
111 views

Plugin conflicting with navigation JS

I've just begun learning JS so I'm having difficulty solving this issue. The navigation on a page using the "Wordpress Auto Gallery With Expanding Preview" plugin has stopped working. It's definitely ...
0
votes
2answers
587 views

Assigning the same custom meta box to multiple post types

I currently have videos set up as a custom post type and I have also created a custom meta box for it that allows users to enter the ID of either a youtube/vimeo video - the video is then displayed on ...
-1
votes
1answer
16 views

Help needed renaming custom post

I really have very little Wordpress knowledge and I need help with the following: I have a theme which uses a custom post called 'services'. I needed another custom post created which worked exactly ...
0
votes
1answer
63 views

How to strip thumb from widget

I v made a customization on my theme, and some widget display where only title is shown without thumb.But the thing is i dont know how to remove this thumb so i v made a custom thumb size and in ...
0
votes
1answer
64 views

trying to figure out how to use more that one image upload in the same section in theme customizer

i am trying to figure out how to use more that one image upload in the same section in theme customizer. the function is new WP_Customize_Image_Control. when you try to get the path of the image you ...
0
votes
0answers
161 views

Using pre_get_posts to filter by custom fields while using static front page

I'm trying to filter a custom post type loop by several custom fields using pre_get_posts. Category pages display just fine. I'm having trouble with the static front page which for some reason ...
0
votes
1answer
84 views

create Custom field for tv series

I want create a tv series website but i don't know how to list all seasons and episodes on one page like : My GAME Season 1 Episode 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 My GAME Season 2 Episode ...
0
votes
2answers
775 views

Widget Option is Missing

My Widget Option is missing in the Dashboard area. How can i make that appear? I have downloaded this Blank Theme from Chris Coyiers site. sidebar.php <?php /** * @package WordPress * ...
0
votes
0answers
577 views

show Visual form builder in the front end

Iam anew in wordpress . i used this plugin http://wordpress.org/plugins/visual-form-builder/ to build custom pages then i tried to build a custom page called formbuilder.php to use it in the front end ...
0
votes
1answer
26 views

Show a Category Specific Info Box

I have a number of categories which are regions of the country (north, south, etc). I would like to display some kind of info box at the end of each post which falls into one of these categories ...
0
votes
2answers
77 views

How can I create more “create attachment” custom field - any idea?

define('MY_POST_TYPE', 'myslider'); define('MY_POST_SLUG', 'myslider'); function my_register_post_type () { $args = array ( 'label' => 'Gallery', 'supports' => array( ...
0
votes
1answer
2k views

meta_query with array as value with multiple arrays

Already got some clues on how to do this, see here: meta_query with array as value but i am confused over multiple meta_queries like this: for ($i=0; $i< count($amenities); $i++) { ...
1
vote
1answer
660 views

Custom tables or custom fields?

I'm building blog where users ll have option to download images. I want to display information how many times post have been displayed and how many times the image have been downloaded. Technically I ...
0
votes
1answer
1k views

Add URL field to the link post format

I'm building a blog where 95% of posts will be of "link" post format. I'd like to specify the URL explicitly when adding a new "link" post. In a separate field between the title and the content. (Not ...
1
vote
1answer
134 views

How to structure a site with product variations pages?

I'm doing a website for a friend for his trailer business (riveting I know!), and was looking for some advice on how to build it out. Basically there are a few major types of trailers, then each main ...
0
votes
1answer
42 views

How do I make just one of my pages a Blog Page?

I'm a newbie, so please excuse me. Notice the "static" nature of my site http://grandeduny.org/. The pages of this site are "wordpress static" by design, but I would like to have one Blog page, how ...
1
vote
1answer
401 views

Blogroll - Different layout for first post

I would like to have my main blogroll show 10 posts per page, but the first post of each page to be setup on a different div above the rest and have a featured image. This is what I sued for the ...
0
votes
3answers
1k views

Dynamically switch template on click

I have a custom post type setup with a couple custom fields. I am creating a page where I display all of the custom post types, except I want to have multiple views. See the examples below. One is a ...
0
votes
1answer
502 views

why is this content-template not showing any of my blog-entries?

i'm using the blogolife-theme on wordpress 3.6.1 my template looks like this: <?php /* Template Name: Template One */ ?> <?php /** * A custom template file. * @package WPLOOK * ...
0
votes
1answer
122 views

Successive creation of over 1000 posts causes 404?

I'm developing a bulk importer. It basically takes images and converts them into posts. Each image will be created with 10 different related posts therefore each image will represent/create 11 posts. ...
0
votes
1answer
24 views

To merge customized codes upon wordpress update

When using update feature (in wp-admin/update-core.php page), it seems to me that wp just replaces all the resources, and the changes that have been made in the working resources just get erased ...
0
votes
2answers
79 views

Custom post type adding additional markup

I'm creating a template but every time I add a new custom post type (in this example neighborhood) it keeps injecting a new <ol> and <li> here is the code I currently have and I'm using ...
0
votes
1answer
16k views

How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]

Which file (or files, if more than one) do I need to edit to re-arrange the Product Page? I want to make some basic layout changes to the default Woocommerce product page. Specifically, I want to put ...
0
votes
1answer
457 views

Widget title markup in register_sidebar

How come the markup I specify in the 'before_title' and 'after_title' settings of register_sidebar gets applied to the default text WordPress widget but not one of our custom widgets, when both are in ...
0
votes
2answers
535 views

how to show only specific category for a template

I have a custom template which should only show posts of specific categories. What do i need to change inside this code, to get this done? if ( ! function_exists( ...
0
votes
2answers
215 views

How to hide widget from certain category

I need some way to hide theme built in widget from one category.So when the post is from category X on that post hide that widget. I would use plugin for it, but since it's not drag and drop widget I ...
0
votes
1answer
156 views

Remove Twenty Twelve themes responsiveness in Internet Explorer

I've researched everywhere and I cannot find anything about my issue with Twenty Twelve theme: Is there a way to disable the responsive feature ONLY for IE and leave it active for the rest of the ...
0
votes
0answers
168 views

How do I store a custom dataset in WordPress to best take advantage of API?

I'm required by my GIS Master's program to create an online portfolio of my work. As I learn new mapping technologies and software I'd like to share my knowledge through a blog. I've decided to go ...
0
votes
1answer
175 views

change top banner content on specific page

I have a static top banner on my website build like this : <div class="row-fluid top-banner"> <div class="container"> <div class="banner-overlay"></div> ...
-1
votes
1answer
20 views

Wordpress Search on Multiple wp sites

I want to search different wordpress installations on the same domain al at once. Whe have some wp installations running different shops. I want users to search in shop One and find also results from ...
3
votes
1answer
975 views

Create page when plugin is activated

I've made so that everytime my plugin is activated it's supposed to create a page. Although i want it to only create the page if it doesn't exist from before. But what it's doing is that it's creating ...