0
votes
1answer
181 views

Make a menu visible for a single category and it's content

I'm working on a site with 3 major sections. Therefore I want to create archives for each section and those archives should be visible only in the category page and it's posts. At this point, I made ...
0
votes
1answer
172 views

display custom portfolio tags

This is a part from the code that is used to display portfolio categories: $post_cat = array(); $post_cat = wp_get_object_terms($post->ID, "portfolio_category"); ...
0
votes
1answer
983 views

how to show custom menu in category and its posts?

I have a category X of posts. The category page and it's individual posts are all part of a custom menu consisting of pages and posts. My submenu, in the sidebar, works fine for showing on the pages, ...
0
votes
1answer
321 views

Creating a Link Text like Submit Button in Admin Page

I'm making an admin page for my plugin and I'd like to make a text link designed like the form button of admin pages. I tried this but didn't work well. <a href="" cless="button-primary" ...
0
votes
1answer
90 views

Use specific language for comment section

On some pages I have the possibility to write a comment (name, email, website, comment). The labels are now in my default language. Now I want to use the English labels for the whole comment section. ...
0
votes
1answer
38 views

wordpress shortcode A executing code from shortcode B

I am having a problem with wordpress. I have created some shortcodes in wordpress. None of them use hyphens as suggested by the wordpress codex. One is for validating a user email (just a success or ...
0
votes
1answer
31 views

What are these variables and where are they documented?

This is in the twentyeleven theme. Can somebody tell me what this is? <span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ) ^^^^ ^^^^ My best ...
0
votes
1answer
130 views

Permalinks not working on MU network with domain mapping

I'm using a theme with custom taxonomies. I want to use corresponding archives. If I try the template out on one network it works, and on another the permalink will take me to 404. The only difference ...
0
votes
1answer
115 views

Wrap a post image with a div if it doesn't have a caption

I've tried the below code to wrap a post image with a div and it works. The problem I'm having is if the image has a caption. It screws up the the code that is generated when a caption is set for the ...
0
votes
1answer
33 views

Is it possible to append an external html file to my wordpress navigation?

I'm trying to add a hardcoded 'megamenu' style dropdown div to my wordpress site. The content of the div itself doesn't need to be administered via wordpress, it will all be hardcoded. I don't want ...
0
votes
1answer
200 views

featured image problem with custom post type

I created a new custom post type based on the code provided by the wordpress codex. But when I try to set a featured image it returns and shows -1 in the featured image box instead of the images. I ...
0
votes
1answer
154 views

Display Latest Post on a Page Conditionally

So I'm wondering exactly how I could display my latest post on a page only in certain conditions. I've been looking over the conditions page in the codex, but I'm not seeing how I could do what I have ...
0
votes
1answer
62 views

Permalinks Works for Custompost type but not with pages Why?

I have Three Custom post Types and one Custom Taxonomy and some pages. The Custom taxonomy is register with one of the post type. The problem is When the default Permalink is enable it works for all ...
0
votes
1answer
61 views

Files placed in directory with wordpress 404

I changed my WordPress permalinks settings from the default to displaying the name of the post. When I did this, all the files that I had been storing in the directory with WordPress ...
0
votes
1answer
81 views

Confused on loading page content

I'm building my first full site into WP and I am rather confused on the process involved to load the content you enter via the WP Pages editor into the actual page. For example, I am having a static ...
0
votes
1answer
191 views

Plugin for Reading Documents, PDF's etc

I am working on a project like scribd.com using WordPress, is there any plugin available which can read documents into a flash or in an Iframe. Examples: scribd.com docstoc.com books.google.com
0
votes
1answer
160 views

is it possible to force wordpress to always save thumbnails as 'jpg' not 'png'

I cant see any settings and cant see much in the php api docs regarding this? for instance if the original file upload is a png wordpress converts to jpg
0
votes
1answer
34 views

Choose options via url

I wonder if it's possible to preselect options when creating new post via url. My goal is to bookmark links when i want to create post with specific options such as category and not to have to select ...
0
votes
1answer
53 views

Merging separate works in wordpress

I am caught up in some scenario. Actually my team is working on developing a site using wordpress. They will be working on their machines(localhost) and preparing the pages that come under their share ...
0
votes
1answer
56 views

Latest posts on all pages

I would like to have the “latest” boxes on all my pages. How can I fix that? As it is now it works on the homepage, on the other only one box apperes and but the content is the same as the page it is ...
0
votes
1answer
65 views

how to add pagination to the organize series plugin

I'm thinking of using the organize series plugin for posts featuring learning videos. As they are step1, step2 etc I'd rather use pagination instead of the next/previous links. Does anyone know how ...
0
votes
1answer
69 views

Twitter List Tweets and Delicious Links as Posts

I'm trying to integrate Tweets from a Twitter list as individual posts categorized as "Twitter," and trying to do the same thing from a Delicious account. I've found several plugins that will add ...
0
votes
1answer
321 views

Create template for taxonomy results limited by Custom Post Type

I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy? Here's the deal: The CPT is called Shows. Each ...
0
votes
1answer
64 views

Custom Taxonomy in Permalink from post type

I am using custom post types and custom taxonomies for that post type. This snippet currently sets the permalinks for the post type: 'rewrite' => array('slug' => 'myrewritebase'), I am ...
0
votes
1answer
135 views

Page content sent from XML RPC is corrupted

I am using python-wordpress-xmlrpc to edit a page to wordpress, I generate some HTML and I am sending it to wordpress. The content is a piece of valid html code, it consists of regular html tags and ...
0
votes
1answer
155 views

Background of default template showing instead of the background of custom page template

Plugins were not working for my custom page template, found out that I needed to put WP_head() and WP_footer(), so did that and the plugins started to work. But now the background changed to that of ...
0
votes
1answer
854 views

wp_insert_post does not write my post_name

i tried to generate a page via wp_insert_post. That works fine except that the post_name is always written with the same value as the post_title. Here comes the code snippet: // Create homesite if ...
0
votes
1answer
57 views

Do Wordpress plugins suport multisite site?

I will build several community sites that somehow similar structure. I will use buddypress. I am new to Wordpress I have used Drupal before. Currently buddypress 1.6.1 version states that it works ...
0
votes
1answer
208 views

Using Page/Post Slug In Link / URL

Hope this is easy! Need to figure out (if possible) how to input my page's SLUG into a web url as a placeholder. For example: http://www.samplewebsite.com/search.ashx?t=current I need to replace ...
0
votes
1answer
126 views

Generated WYSIWYG gallery with individual gallery_page templates

I am in the process of making my first theme, and have created the basic pages index.php, front_page.php, single.php and page.php, I also wanted to add a gallery template page. The idea being the ...
0
votes
1answer
158 views

Relevanssi show only 1 result

Search works correct, but show only one result Why is that? How can I change it? I'm using also Dave's WordPress Live Search which show me many results (for example 10), but in search result page I ...
0
votes
1answer
139 views

first_name property missing inside register_user action hook

I'm trying to access the $user->first_name property from a function triggered by the register_user action hook but it's not there: function do_stuff($user_id) { $new_user = get_userdata($user_id); ...
0
votes
1answer
22 views

How to specify a certain amount of images queried, not all?

I have a query for calling images from a post category. I am trying to control it to only query 6 images. I have tried using php count, but its not working as expected. Any ideas of what I could do ...
0
votes
1answer
133 views

Display a widget on a specific type of archive

I have two sidebar widgets, I need to display 1 widget on the archive pages for the standard post categories and the other widget needs to show on just the archive pages for a specific custom post ...
0
votes
1answer
83 views

Display static pages instead of category, in code

I'm very new to programming and not sure how to go about this. The following code returns 3 category names and feature images and then outputs them on the page. <div id="footer"> <div ...
0
votes
1answer
129 views

Showposts doesn't show the number of posts indicated

on my homepage, I'm using several loops to display posts from different categories in various sections of the page. The code I'm adding before the loop is : <?php ...
0
votes
1answer
117 views

Create advanced portal website with sections - taxonomy usage?

I would need your help. Please let me explain my needs. I need to create a portal-based website, and I have some doubts about the right way. The homepage will contain a few "sections". Each section ...
0
votes
1answer
190 views

Change Default Custom Fields Metabox Name on cctm plugin

i found this thread Change Default Custom Fields Metabox Name and i also want to change this cctm plugin generated Custom Field header to something else,so i tried to add global $wp_meta_boxes; ...
0
votes
1answer
162 views

Execute PHP function inside the admin area

I want to ask if there is a hook for executing php inside the admin area, my problem is I'm trying to do the get_posts wordpress function inside a popup frame using the thickbox jQuery plugin, using ...
0
votes
1answer
69 views

Screen Options Wordpress WYSIWYG

Is there any way to set a checkbox for WYSIWYG box in this options so admin is able to hide it in case there's no need for content in a page
0
votes
1answer
56 views

Registering dependency on 'wp-posts-to-posts' from a custom plugin

I have custom plugin which registers multiple CPT's and i want to reuse the features of wp-posts-to-posts to define relationships. I'm just wondering what is the correct/best way to include the ...
0
votes
1answer
31 views

Post Attachment missing head (stylesheets/js/what-not)

I am using a modified 2011 theme, I got the single post to look fine but my single attachment is not working. I'm told this will default to the page.php if I do not have an attachment template. So, ...
0
votes
1answer
113 views

How to create an user defined page?

I have created a file example.php in the default site directory. I want to have the facilities of an Dashboard-Created-Page like the theme,navigation bar,navigation bar, header,footer etc..
0
votes
1answer
140 views

Hierarchical gallery

I want several galleries, every gallery containing several images. What is the proper way to do this two-level structure? I'd make every element of each gallery a post.
0
votes
1answer
119 views

How to display posts list on my plugin page?

Currently, I makes a plugin, and I want to display some post in admin submenu, my url looks like wp-admin/admin.php?page=mypluginpage how to display posts list on my plugin page? it's possible or ...
0
votes
1answer
63 views

WXR XML import is stripping php tags that I need to keep

When I import my WXR XML file it appears that wp_insert_post (or another function) is applying filters to strip php tags that I need to keep in my content. I have searched the various wp-include php ...
0
votes
1answer
99 views

Showing all post from all post type in admin backstage

I try to create an admin page where to display all posts from all custom post type. It is something like in edit.php, but instead of displaying single post type,I would like to display all posts in ...
0
votes
1answer
57 views

Running a wordpress action when a custom post type term (taxonomy category) is changed

Trying to make a system whereby a function is called upon an admin changing the taxonomy category (term - if i understand correcrtly) of a custom post type. I thought the action tag "edit_category" ...
0
votes
1answer
127 views

Can I exclude a single URL from a rewrite plugin?

I am working on an imported .html site that has been using the .html on pages plugin to rewrite the URLs for inbound link purposes. Now I am trying to integrate it with a subdomain blog ...
0
votes
1answer
62 views

Advice on setting up private site

I've developed a wordpress site which is only to be made available to around 30 people, whose email addresses I have in a spreadsheet. I want to allow these people to be able to register/login and ...

15 30 50 per page