Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
1k views

how to modify request to get_template_part()?

i am modifying a P2 theme for a specific purpose, and it uses the get_template_part( 'entry' ) function to get the the whole entry html. What i then get is the who <li> element, but i want to ...
-1
votes
1answer
105 views

Does anyone have the Custom Post Permalinks plugin from John P. Bloch? [closed]

Can you upload it somewhere or send to my email?
0
votes
2answers
178 views

How do I change my permalink structure to a custom structure on an established blog?

I've got a blog that's about 15 months old with around 160 posts. Right now my permalink structure looks like this (example): ...
0
votes
1answer
916 views

Custom Register Link on Backend Form

I want a similar solution like this one for my login form on the backend of my WordPress installation: Forgot Password URL Filter What I want to do instead of returning a custom forgot password url, ...
3
votes
1answer
228 views

Is there a way to do multiple ordering on a multiple meta_query?

I'm experimenting with searches and multiple criterias and ordering. Let's say we have a real estate site, all posts have 2 custom fields (price and surface), and we want the visitor to be able to ...
1
vote
2answers
2k views

Delete Post Link to delete post, its meta and attachments

I used // Delete Post Link function wp_delete_post_link($link = 'Delete This', $before = '', $after = '', $title="Move this item to the Trash", $cssClass="") { global $post; if ( ...
4
votes
4answers
4k views

Consuming an external API in WordPress?

I have a client who has a WordPress website, and he want to extend it to add new functionalities. These functionalities are included in a website I have already done (a kind of search engine over a ...
2
votes
2answers
918 views

modify all posts of a category to “no comments allowed”

I'm looking for a way to modify all posts of a certain category to be "no comments allowed" without going into each post settings, one by one, and modifying manually. Perhaps a MySQL statement? ...
0
votes
1answer
15 views

List of contents of entire blog

There is a widget categories which prints categories as tree, for example: category1 subcategory1 subcategory2 category2 subcategory1 I would like to print whole content of blog together with ...
2
votes
2answers
860 views

What's the best “insert all images” plugin?

I've tried several plugins that supposedly allow you to "insert all images" after using the flash based uploader to upload multiple images. However, I still haven't found one that ties in well with ...
0
votes
1answer
546 views

List all authors by matching custom meta data on a category page

I have a number of category terms act as placeholders for our departments. I than pull in those terms on the backend profile edit screen using Justin Tadlock's tutorial: ...
1
vote
1answer
196 views

Wordpress as thesaurus/dictionnary: what approach?

I'm willing to develop a thesaurus/dictionary for the Berber language. A website that allows comunity members to add new words/synonyms/antonyms.. How to relate words (posts) to each other? by ...
0
votes
1answer
669 views

Replace TimThumb in existing WordPress Themes

I'm sure most are aware of the most recent Timthumb issues. I know they have put a band-aid on the problem, but I really don't care for the script for several reasons. Before I started building my ...
1
vote
1answer
819 views

Wordpress if in term*

i am having trouble with conditional and custom post types. i would like to set something up like this: <?php if (in_term('products')){ include ('products.php'); }elseif (in_term('downloads')){ ...
0
votes
1answer
46 views

Making a particular kind of search engine with Wordpress?

I would appreciate if I get to know details and how-to make a particular type of search engine with Wordpress,where users can submit/showcase their product and submit their listings of products.It ...
4
votes
3answers
4k views

Wordpress Multiple Category Search

From few months I am digging into wordpress for multiple category search options, and finally came up with this. I just found that wordpress allows multiple tags, which means that if in your URL you ...
0
votes
1answer
477 views

Pagination problem with multiple loops on the same page

I'm using 4 custom loops to display 3 posts on each one and every loop has its own pagination which works fine once the page loads up, the problem is that when I click on the 2nd page of the first ...
0
votes
1answer
187 views

If the image variable is specified, show image, if not no code

This should be simple, and yet everything I'm trying blows the blog up. I want to be able to specify an image variable in a custom field (that works great) but if that's not specified, don't include ...
2
votes
2answers
10k views

Setting Custom Sort Order of Posts within a Category

I've got this category setup that includes several posts. By design it's not a blog, but a staff listing. Currently all of the staff members have their own posts with the category. I'd like to be able ...
2
votes
3answers
2k views

Fast way to add countries as a custom taxonomy term?

Is there a quick way to add a list of countries as terms to a custom taxonomy called "Country"? Is there an existing import file, SQL script ect... I don't want to be there all day manually adding ...
0
votes
2answers
548 views

automatically create taxonomy with same name as post title

I have a custom post type called "Country Story". The title of which will be the name of the country. I want Wordpress to automatically create a new taxonomy called "country" of the same name, i.e. a ...
0
votes
2answers
659 views

Best Practice for Displaying Categorized Posts on Front Page

I am building a custom wordpress theme from a clients mockup. On the homepage there are 2 sliders, and 4-5 areas for recent posts of different types. I would like to have all the content be editable ...
1
vote
1answer
935 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 ...
0
votes
1answer
101 views

Best way to enable sorting by 3 criteria on a page of listings

If you go to this site: http://www.ec-ohio.com and click on one of the links in the Directory (left column of homepage) you generate a page with listings, and at the top of each page there's 3 links ...
2
votes
1answer
80 views

Display tags with a twist

I would like to display the tags of a post different than what's standard in WordPress. If I've understood it correct, all I can do with the regular tags is to display different things between them ...
0
votes
1answer
297 views

WordPress uploads directory. Featured Images storage

WordPress stores all uploads in: /uploads/year/month/ I want to store featured images of my custom post type like: /uploads/myCustomPostType/ No date subdirectories etc. I want all the files to ...
1
vote
1answer
303 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. ...
2
votes
1answer
483 views

dynamic external javascript generated using php

How to write an external javascript file with dynamic variable values generated using php from wp db values? So instead of using wp_localize_script for inline js variables, I'd like to use ...
1
vote
1answer
364 views

Dynamic carousel on individual posts

I'm using Wordpress as a CMS for a small business website (not my first choice.) Each product page needs to have a small carousel of images that contains images relevant to the product. I've set up ...
1
vote
2answers
2k views

Is there a way to rename “themes” directory name?

By defining TEMPLATEPATH, STYLESHEETPATH, WP_CONTENT_DIR and WP_CONTENT_URL merely affect the naming changes to wp-content. Is there any way to redefine the theme path and plugin path, so the new ...
0
votes
1answer
577 views

Moved wp-content and got problem with themes directory?

I have moved the 'wp-content' directory to a new folder following the guide at Moving Wp-content. I could able to access plugins directory with out any problem as I used the wp_content_dir in addition ...
3
votes
2answers
1k views

How to force one column layout on custom post type edit page?

I've created a plugin using custom post types and I need to force the default two column post page to a single column. At the same time, the Publish metabox must move to the bottom. I need to do this ...
2
votes
1answer
173 views

Related links - from other sites

I'm in middle of re-building a website that's coded in a rather terrible custom CMS. Since the site is essentially a blog, I've been doing it in Wordpress. One thing I'd like to do is be able to add ...
0
votes
1answer
361 views

How to make universal gallery and improve admin side of managing galleries?

I will describe here steps I made to make my galleries for my first WP theme. I wanted to have a few links in my menu which will take user to page with thumbnails. Each thumbnail takes user to gallery ...
1
vote
2answers
42 views

Can I add/replace the Wordpress image in the Dashboard

Is it possible to change the Wordpress logo and header in the Dashboard so I can customise it a little more to my business? Ideally it could be done in a way so that it wouldn't break every time I ...
2
votes
1answer
2k views

.current-menu-item class on custom post type children pages - again?

There is the situation. I have created the custom post type - products withfuncionality like pages - I have to create hierarchy. f.e: Chairs: Oak Chair Nice Chair The weird thing happens with ...
1
vote
2answers
1k views

Insert attachment ID in custom field from media uploader

This is what I want to do: In the media uploader, add a link "Use this attachment ID as custom field". Add the attachment ID in a custom fields meta box. I've searched for hours for a plugin that ...
1
vote
1answer
591 views

in_category() works in single.php but not in page.php?

I'm using in_category(array) inside The Loop to detect whether a post is categorised into the Discussion category (or has one of a couple of slugs). This works beautifully on single.php but doesn't ...
0
votes
2answers
198 views

Can I style single post that are in multiple catergories?

I have a regular wordpress site and I am trying to make a mobile version of the same site. For the blog section, I have put all of the posts in two categories: blog and mobile. The posts in "blog" ...
0
votes
1answer
204 views

Query post types with multiple keys

I'm looking for a way to only show posts results that contain all of the custom fields requested. Not one or the other. I was only able to get results with one array at a time. Any help would be ...
0
votes
2answers
104 views

Overstand theme set up issue

I've just begun setting up the overstand theme to work with my blog, but I've run into a problem. Check out my site: http://beachief.com/, the problem is pretty obvious. Those two black categories ...
1
vote
2answers
220 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 ...
2
votes
1answer
3k views

wp_insert_term - parent & child problem

I have a car database that I want to import into Wordpress as taxonomies. The problem is I can't create 2 taxonomies at once (first is parent, last ones are childs of first). $p = ...
0
votes
3answers
2k views

How to add meta description, keywords, custom title to a category template

I use custom category templates for a few of my categories. Ex: cat-12.php and so on. I use the Fv Simpler Seo and presently it doesnt seem to support an option to edit category templates. ...
1
vote
1answer
232 views

Possible to replicate economist.com's debate section in wordpress? [closed]

We're building an online magazine with a debate section similar to economist.com/debate. Is it possible to do it in wordpress with existing plugins? Thanks so much.
5
votes
1answer
265 views

When is it appropriate to create a new table in the WordPress database?

For a client we'll need 29,000 terms (all the highschool's in the US) and each term needs 6 meta items (address, phone...). My initial thought was to store the term meta information as suggested in ...
0
votes
1answer
364 views

How to custom category template based on category?

My blog have 2 categories: Photos and Texts. I would like do customize the category template so that when it renders Photos post's, I want to show a thumbnail gallery and when it renders Texts ...
0
votes
1answer
200 views

My blog suddenly can't find my stylesheet?

I created a custom theme awhile back, and everything has worked fine up until now. All of a sudden, my theme was reverted back to the default twenty eleven theme because apparently my custom theme is ...
1
vote
2answers
1k views

global menus made from master site's custom menus wpmu network

I'm looking into a way to have global menus across my network of blogs. Basically I am using wordpress as a CMS - the purpose of the network is actually to ringfence content. The sub blogs will be ...
0
votes
1answer
534 views

Related “custom post type” using “custom taxonomy”

on my "Work" template used for the custom post type with the same name, I have the following code showing a list of titles for every "work". What I want to do is to display just on that list the ...