Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (15)

1
vote
1answer
315 views

Best way to customise wp_nav_menu [duplicate]

Possible Duplicate: Menu items description? Custom Walker for wp_nav_menu() I'm familiar with WordPress and using the WordPress menu system. But I'm looking for a way to add custom HTML to ...
1
vote
1answer
118 views

Multisite multidomain

I have a wordpress multisite. I'm using a single domain, but I want to use multiples domains. I want to allow the user choose a domain for his subdomain. I was searching, but i don't found nothing ...
1
vote
1answer
231 views

Custom image size not selectable in uploader

I want to add a custom image size for each image, that is uploaded into posts (via the uploader). I found code-examples on several websites, but somehow they just don't work for me. This is (the ...
1
vote
1answer
1k views

Custom Post Type Pagination Doesn't Work in Wordpress 3.4

I have a problem when using Wordpress 3.4. My "Products" custom post type pagination doesn't work. Here is the code I use $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $loop = new ...
1
vote
2answers
345 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 ...
1
vote
1answer
1k views

Wordpress custom search url

I'm trying to chang my custom search url for SEO purpose. I found an article about how to change mydomain.com/?s=query to mydomain.com/search/query. However, i prefer to have a custom search url such ...
1
vote
1answer
213 views

Use post object from first query in second query

I have a post ID stored in a variable from my first query and I'd like to use that to highlight the post with the same ID in my second query, but it's not working. First loop: <?php if ...
1
vote
1answer
1k views

Multiple Category Search

I'm trying to create a search feature that will allow users to enter a search term and select a couple of categories. The script searches a single category just fine, but when I add more than one I ...
1
vote
1answer
897 views

Remove Custom Taxonomy Slug from Permalink

I have a registered custom taxonomy called articles to my posts. So if I have a term called reviews, the link to my custom taxonomy reviews archive would be www.mysite.com/articles/reviews/ . I would ...
1
vote
1answer
2k views

Static front page with recent posts pagination

Is it possible to include index pagination on a static front page? I have a child theme of twenty eleven and I am attempting to have a home page where there is a slider for sticky posts followed by ...
1
vote
1answer
663 views

Point static content like css and js to cookieless subdomain

How can I change the links that WordPress generates for all static content like css, js, png, jpg, gif, etc to a cookieless subdomain? I don't want to use mod_rewrite. I want the PHP code to replace ...
1
vote
1answer
706 views

Query post for 'selected category' in archive.php

I'm trying to figure out how to display a 'featured post' on a selected category archive. My website uses the category-based navigation for different types of posts (text only post-blog, and image ...
1
vote
1answer
175 views

How do I Add images uploaded in the post to a default custom field

I'm trying to add the URL of the post images in to a default custom field. Here is the code I got so far... Here is how I add the default custom field: add_action('wp_insert_post', ...
1
vote
3answers
941 views

Change order of comment fields

Is there a way to display the comment field first and then the Name / Email / Website fields? I am using <?php comment_form( ); ?> in my theme. I am not looking for a CSS solution.
1
vote
2answers
3k views

Search a post using the date it was posted

I want to search a post based on the date it was posted. Example, in the search box, I would place there November 22, 2011 and all posts during November 22, 2011 would be displayed. Im desperate on ...
1
vote
1answer
115 views

How to make classes for posts?

Thanks in advance. I'd like to have posts with different colored borders and headers. It would be nice to choose a category of the post (red, blue, black, etc.) and have it change the class for that ...
1
vote
1answer
191 views

Hard-coding custom menu elements for menu manager

I realize that one can add custom links through the menu manager but is there a way to manually create such components through the functions.php file? More specifically, one example here relates to a ...
1
vote
1answer
52 views

How to add a button which saves the post then executes a function

Currently, I have a function called 'pub_notification' in my functions.php file which sends an email when the post is published, using the following code: add_action('publish_post', ...
1
vote
1answer
1k views

How to modify the action attribute of the wp-login.php?action=register form?

I'm trying to create a reference registration system in Wordpress. The idea is that the user will click a link which will contain wp-login.php?action=register&ref=12345 I'm hooking into the ...
1
vote
1answer
351 views

Add a InfoBox in the media upload window

I am trying to add a InfoBox (just infotext for the user) to the media upload popup window (se mockup link). Any tips on how to adress this feature? Filter hook? Other solution? Thanks in advance. ...
1
vote
2answers
224 views

Side by side blogging?

I'm designing a blog with wordpress as my CMS. My client would like one page on the site to have two main content areas, each with a title above and streaming posts from different categories. So far ...
1
vote
1answer
97 views

A question on creating filters for custom posts using taxonomy

This is my first foray into custom post types and taxonomies. I created a taxonomy-services.php page to display posts that are associated with the 'websites' slug. That seems to be working fine. ...
1
vote
1answer
94 views

How to modify the comments to be displayed in a post?

I would like to know how to modify the way wordpress displays the comments in a page. The requirement at hand is to display a certain number of comments in the comments list and while the the user ...
1
vote
2answers
2k views

Conditional Query of Custom Post Type and custom taxonomy

I am working on a project that has a custom post type called 'Experience Statement' Custom Taxonomy attached to that post type called 'Expertise' 6 different terms for the custom taxonomy: Coastal, ...
1
vote
1answer
458 views

How to implement pagination in backward way eg. first - 20 - 19 - 18 - … - 3 - 2 - 1 - last

How can I implement pagination in backward style, like shown in the title. (newest) first - 20 - 19 - 18 - ... - 3 - 2 - 1 - last (oldest) I have search plugin, there are not yet plugin for this. ...
1
vote
1answer
330 views

Using Fullscreenr with a wordpress blog - weird bug

I'm wondering if anyone here has used the jquery plugin 'fullscreenr' with a wordpress theme before. I've noticed a weird bug that I'm sure anyone who has used this before for a wordpress build would ...
1
vote
2answers
1k views

List custom taxonomy specific to one custom post type

I am slowly going mad trying to figure this out.. I want to list custom post type 'mobile_review' by custom taxonomy 'mobile_phone', as multipe custom post types share this taxonomy I need some way ...
1
vote
1answer
586 views

Wordpress Locale Switching on Accept-Language Header

Is there anyway to get wordpress to automatically switch locales based on the HTTP Accept-Language header? Similar to how ASP.NET can do it with their globalization="auto" config setting. The reason ...
1
vote
2answers
183 views

Looking for a Wordpress photo gallery plugin [closed]

I'm hoping someone can help me with this. I have looked all over and can't seem to find what I need. I am looking for a WP plugin that will allow my site users to easily create their own photo ...
1
vote
1answer
460 views

How to Call a static page in WordPress

Hi I created a template within my theme files, just for displaying a map in a lightbox. I need to call this template page from a normal wordpress post, how can I do it? Say in my theme files I have ...
1
vote
2answers
298 views

Can I install/embed Wordpress on a 'single page'?

I'm building a website from scratch (PHP, jQuery) and want to have full control over the design, implementation, etc. I want to install Wordpress so that when you go to a certain section of the site, ...
1
vote
1answer
2k views

One WordPress install serving multiple virtual hosts

I have a number of WordPress-enabled sites setup as virtual hosts under XAMPP on a Windows 7 development server. An example virtual host is as follows: <VirtualHost *:80> ServerName ...
1
vote
1answer
5k views

Nginx WordPress Multisite Rewrite rules

I am having trouble with my rewrite rules with my new nginx install. If I access the image manually like here, ...
1
vote
1answer
86 views

WP for main site and two blogs - implementation

I'm working on an open-source software project and hoping to move and combine some disparate sites that it's on. Currently there is a main info/code site. Then there are two blogs for implementations ...
1
vote
2answers
824 views

Paginate Author's Post List on Custom Author Page (ANOTHER THEORY)

Ok so here's another story for my Custom Pagination on Custom Author's Page. What i want to happen there is display the Author's avatar, description, website, and some additional fields, and of course ...
1
vote
1answer
369 views

Post thumbnails not working in my new install of WP 3.1 with Twenty Ten theme

I am working in a new project, and I just realized that in the page/post edit pages, I don´t have the option to set a featured image/ post thumbnail. I have checked and Twenty Ten has thumbnails ...
1
vote
1answer
5k views

Displaying a checkbox array from advanced custom field

I'm using the advanced custom field plugin for wordpress and wondering if I'm able to do the following: If checkbox ticked = web and it equals the page title echo this. Does anyone know what code to ...
1
vote
1answer
2k views

Define new user capability for custom post types?

If I create a custom post type and want to create custom capabilities for that, how do I do this? For example, I want to let my Editors to edit and create and delete posts and pages, but not the ...
1
vote
1answer
589 views

Using custom post template

i'm trying to implement a custom post template for all posts filed under a specific category. I'm making use of WP-O-Matic plugin that puts in the RSS feeds in this category and would like to make a ...
1
vote
1answer
2k views

WP 3.1 meta_query for multiple custom field values

I'm trying to use some conditional logic to compare custom fields in my query, but a bit stuck. How would I get all posts with ReleasedProject AND PermanentArtist set to 'true'? Here's what I have so ...
1
vote
1answer
72 views

Determining What Content Gets Displayed

I'm looking into using Wordpress as a basic content management system. I'm quite confused about what determines what content gets displayed when and where. For a simple example, I installed a theme ...
1
vote
1answer
2k views

How to make condition, based on custom fields value?

So what i would like to do is order in some CSS depending on the value of a custom field. The code below just says that if there is ANY value, do X, else do nothing... <?php ...
1
vote
1answer
2k views

How to select posts from multiple categories and metavalues?

I need to select posts who are in multiple categories and have certain post metavalue. I can select multiple categories with query_posts( array( 'category__and' => array(1,2,3) ) ); But also I ...
1
vote
1answer
330 views

Truncating varying lengths of information

I was helped not long ago with a form of custom truncating by Toscho on this post it works very well but I'm finding that I need to create multiple length variations for different bits of content. For ...
1
vote
1answer
912 views

Automatically exclude categories from metabox based on title

I am designing a website which will be used as a school PA system. Users will be posting entries into categories named for specific dates that correspond to school assemblies. We have two assemblies a ...
1
vote
1answer
3k views

Front End Post Submit Form

I'm working on a site that is going to be community powered. It's going to have the form for registered users to submit draft posts, which will then be approved or deleted by the site's editors. The ...
1
vote
1answer
372 views

Custom options below pages/posts editor?

I want to add permanently boxes below Visual/HTML editor for each page/post. I've never played with custom fields before, and I'm not sure is it way to go? If yes ten tell me, good people of ...
1
vote
1answer
313 views

Wordpress slugs and 404 handling takes preference over folders in site root?

I have wordpress installed and permalink structure set to /%postname%/ In addition to WordPress folders, I also have a public_html/beta folder where I wanted to copy the same site and test some ...
1
vote
1answer
499 views

WordPress Multisite domain mapping with different IPs

Hey there, I have 5 different sites with 5 different IP's on cyberwurx shared account. How can I install wordpress multisite and use the domain mapping plugin and also keep my sites on different IP's? ...
1
vote
2answers
1k views

How to allow visitors to enter custom post type?

I wanted to use a custom post type to create a "share your story" type of feature. People would fill in the text boxes and "share their story". This would then be automatically posted on to a stories ...