Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
1answer
202 views

Post with no tag permalink problem

Firstly my problem was the %tag% in the permalink, but I resolved it with this patch: %tag% in permalink not working So my custom structure now looks like this: /%category%/%tag%/%postname%/ And ...
0
votes
1answer
488 views

How to change the “All Categories” label within the panel of my custom post type?

I just created a custom post type and a custom taxonomy: // === CUSTOM TAXONOMIES === // add_action('init', 'my_custom_taxonomies', 0); function my_custom_taxonomies() { register_taxonomy( ...
0
votes
3answers
2k views

Get wordpress taxonomy slug name(s) to use as div class

I'm trying to mark up my posts using their custom taxonomy slug as the div class so that they can be filtered... So far what I have displays the taxonomy name but what I need is the slug so I have a ...
0
votes
1answer
1k views

How to query details of images in gallery that is attached to a post

I have several images attached to each post. I need to generate a gallery, but because it's heavily customized I don't want to use a gallery plugin, nor the gallery short code. It's also situated in a ...
1
vote
1answer
1k views

plugin for wp_list_categories with posts

Is there a parameter that can be passed to wp_list_categories, to get a certain number of posts from each category? Or a plugin that does something like that? A similar question was in the Wordpress ...
2
votes
1answer
161 views

Sub-Sub-Blogs — creating and importing content into a custom sub-type

Description: The university radio station I volunteer at uses WordPress 3's Network Mode for the entirety of its web content. It uses the format: Top-Level (.com/*) -- Basic station information, ...
0
votes
2answers
2k views

Limit User Iinterface for Admin?

Is there a plugin or a way where I can restrict or limit the buttons on the admin interface for a certain user? For example: for the user who has a role of a writer, he/she can only post content, ...
0
votes
3answers
269 views

Free paypal cart solution [closed]

Does someone some good & free paypal cart solution for wordpress? I was looking at phpurchase.com, that looks good but I don't want to buy it since it's for a test project.
0
votes
1answer
713 views

WP 3.1 & Sorting Admin Post List

I am stuck on two issues in trying to get my custom post type for events to function correctly in the admin area. 1st) I have upgraded to wordpress 3.1 after which the code (below) which was working ...
1
vote
2answers
715 views

How to remove tag cloud from taxonomy admin edit page?

On the page where one adds/removes/modifies taxonomies, what would I need to add to my functions.php file to remove the tag cloud?
0
votes
2answers
1k views

Custom query, multiple custom keys

I need to get posts that have two meta-values. It tried the following code, but this is getting empty result <?php $featuredquery = " SELECT wposts.* FROM $wpdb->posts wposts, ...
0
votes
2answers
3k views

WPML Plugin Not displaying multilingual Menus

I'm using WordPress 3.0 Menus, which the WPML (wordpress multilingual) plugin claims to have added support for in a recent release. I am using the most current version of the plugin. My problem is ...
1
vote
1answer
569 views

syntax highlighting for theme-editor.php?

Is there any syntax highlighter for wordpress. This is not to post code snippets on posts but for the backend/theme editor of wordpress. If not do you think it will be implemented in sometime future? ...
1
vote
3answers
854 views

Show posts on a page based on a category and tag(s)

I have been looking all over the internet for this, and have not yet found an answer I could use. Found out that I may can use something called query_posts or get_posts, but I have no idea how to use ...
0
votes
2answers
746 views

Custom Post Type, Custom Columns List

I've basically done a full plugin and now just "prettifying" it sort-of. One thing I'm doing is re-doing the columns for listing the "posts" I made. This part is fine, and all columns are replaced as ...
0
votes
1answer
692 views

Updating post meta for custom post types

I'm writing a plugin for work (still) and having one more issue. I've added my meta boxes as needed. However, the problem I'm having occurs when saving the post. My snippets for saving pretty much ...
0
votes
1answer
321 views

Adding page Title in a custom coded page

I have been coding a custom profile page for users in wordpress. its a hard coded file called "myprofile.php" I am unable to get the username to show up in the page title.. take a look : ...
1
vote
3answers
5k views

Make wordpress generate a custom XML file(not a sitemap) that is updated only when new content is posted?

I'm not looking for a sitemap, I'm looking to create an xml file that I can have a flash menu access, but I don't want to generate the XML file each time someone visits a page, I want to have a static ...
1
vote
3answers
316 views

Is it possible to create relational metabox values in a custom post?

I have a custom post type ('Model') for a sports modelling agency, and it requires the model to enter sports they are competent at, and also rank their ability from 1 to 5. For example, given the ...
0
votes
2answers
653 views

Custom post types - remove default post supports through empty array?

I recently asked a question the other day and got what I was looking for. Today I put that knowledge to practice, but I can't seem to figure how to remove the title and editor fields from the "edit" ...
0
votes
1answer
136 views

Is it necessary to use Timthumb in Wordpress 2.9+?

as Wordpress 2.9 comes with built in post thumbnail features, is it necessary to use Timthumb ? if yes specify
1
vote
1answer
1k views

How to get multiple Action Hooks in an Array

Hi I am writing a small plug-in which I get some content from outside of WordPress and I want a small script to trigger whenever a new post, page or comment is added. Also if any Widgets, themes and ...
1
vote
1answer
108 views

How can a single line in a blog post take down my server?

I've been trying to write a post about a simple Windows Powershell script for the last few hours, but when I try to preview the post with the script included, it takes down my server. Unfortunately ...
0
votes
2answers
3k views

WordPress pagination with custom post type?

I have searched all over the web to find some solution, but none of them are working for me, can someone help me with this and explain what is wrong? I've spent 3 hours debugging and didn't find the ...
0
votes
1answer
727 views

Custom Post Type Query for Sidebar Doesn't Work on Front Page

Interesting issue here. I have this: $args=array( 'meta_key'=>'_simple_fields_fieldGroupID_1_fieldID_8_numInSet_0', 'post_type' => 'stores', 'post_status' => 'publish', ...
1
vote
1answer
233 views

Custom post types with custom directories

I'd like to run a WordPress install with open registration so that anyone can sign up and post to a custom post type that would live at... domain.com/open/date/the-post-title I'd also like to run a ...
2
votes
3answers
1k views

WP Super Cache separate cache for mobile

I'm using the WP Super Cache plugin and inside my theme I have code that executes differently if the site is viewed on a mobile device (iOS, Android) than a desktop browser. How do make WP Super ...
2
votes
4answers
1k views

Open external links in a new window

Is it possible to make some sort of change or add a plugin that allows me to make every 'external' link open in a new window? Just an example: if my blog was called http//timmy.com/ and I wanted to ...
0
votes
2answers
1k views

WordPress : using AJAX to get posts & Sidebar Content to an external application

Hello friends I am trying to get my wordpress posts to display in a non- wordpress application. Currently I am getting them by using the following method. My wordPress page is something like this: ...
0
votes
1answer
271 views

How to retain visual breadcrumbs w/ tricky URL structure? Custom post template?

I'm building a review site with lots of different categories. Here's what the site strucure is shaping up to be: backtoschool.com backtoschool.com/reviews/ backtoschool.com/reviews/calculators ...
0
votes
4answers
180 views

Reached end of document without finding - using mod_pagespeed

I'm getting this error repeatedly in my error.log: [Wed Dec 29 13:46:37 2010] [error] [mod_pagespeed 0.9.11.5-293] http://marcandkatie.co.za/index.php:1: Reached end of document without finding ...
0
votes
3answers
571 views

How can I create a permalink with two categories, with the order based on the parent category?

Basically, I'd like to create a category permalink like example.com/books/adventure without having to make adventure a child-category because it will apply to other categories as well. So the end ...
0
votes
1answer
6k views

How can I customize “Pages” admin (edit.php) and “Edit Page” admin (post.php) for bulk edit of custom content type?

I think its probably easier than I think to do this, but currently its beyond me. If there are any plugins out there I'd prefer to start there rather than develop from scratch, but I'll do what I have ...
5
votes
1answer
1k views

Get a button for <hr> in the Editor

Somehow the WordPress editor doesn't have a button to insert a horizontal line (<hr /> in html). Is there a plugin that adds this button? Or an easy way to add such a button myself?
1
vote
2answers
538 views

adding homework to a school's website

I have a school website - pickeringschool.org - that I am changing over to WordPress. This is no problem except that I want to add the functionality that allows the teachers to add daily homework ...
0
votes
1answer
401 views

inserting uploads into subdomain

I have my wordpress blog in the root of my website (example.org) and would like to store uploaded files in a subdomain depending on type of file, for example I currently have ...
1
vote
1answer
918 views

Creating a custom Admin panel

I'm building a Wordpress Plugin and it has two tables and some data. Right now, for displaying and changing the data, I'm using the wpdb function and manually creating the user interface (mimicking ...
1
vote
1answer
760 views

Sub posts and non unique post_name

I'm trying to create sub-posts like this: /post/info/ /post2/info/ Using wp_insert_post() and I have almost succeeded. I'm setting post_parent to the parent post ID and the post_type needs to be ...
0
votes
3answers
153 views

2.9 to 3.0: Pros and cons of upgrading?

I have a wordpress blog running 2.9. I haven't made many mosts yet. I am considering upgrading to Wordpress 3.0. What are the pros and cons of upgrading? Will 3.0 increase security? Is there less ...
2
votes
3answers
1k views

Is there a way to create invisible pages?

I'd like to add a page that does not appear anywhere on the site (especially not in the header or wherever your pages are listed) unless the URL is typed in directly. Additionally, the page/post ...
1
vote
1answer
726 views

Custom Taxonomy Term Caching?

I have two Custom Post Types, "event", and "opportunity". They share a custom hierarchal taxonomy, "location". My client had added a handful of terms (United States (parent), then a few States ...
0
votes
2answers
553 views

What Wordpress Hook Is Used Before Signup Data is Saved?

I need hook which is working before signup data save on new user and blog registration on BP or WP 3.0.3. Any help would be greatly appreciated.
2
votes
2answers
2k views

sanitize attachment filename

I'm looking for a way to sanitize the filename of user uploaded attachments. I thought that wordpress already did it but I faced preblems after an user uploaded an attachment containing a '°' . That ...
3
votes
3answers
2k views

Archive Listings Filtered by Date Values in a Custom Field/Post Meta?

(Moderator's Note: The original title was "using archive by date with a custom date") I'm adding an additional date to posts as a custom field. Now I want the archive to show posts by the custom date ...
1
vote
2answers
3k views

Best way to pass arguments to another page in Wordpress

What is the best way to pass arguments to another page in wordpress. I did it this way : <a href="get_permalinka(id_of_page).'/&i=2&j=3&k=4'">Link/a> I get this arguments with ...
2
votes
1answer
757 views

Does WordPress Allow Blank/Empty Comment Submissions In WordPress?

I've got a great Comment Form and Threaded Comments setup by using the native WordPress functions: comment_form and wp_list_comments. However, I'm trying to also create a custom Contest Comment ...
3
votes
3answers
356 views

Editing theme files and access to the Code pages only to super-admin?

When I deal with Multisite installation.Some themes like mystique and aparatus provide the widget areas with in the theme-settings page to enter Advertising codes in the form of HTML or java script ...
3
votes
2answers
275 views

What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner?

What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner? How to disable hosted Wiordpress feed completely and use feedburner?
0
votes
2answers
679 views

How do I create a Custom Post Box that Connects Different Posts Together

In WordPress, I'm trying to create a Custom Post Box that will allow one post to be manually connected to another post. The easiest way to illustrate this request was to mockup what I would like ...
2
votes
2answers
852 views

Replacing the default content created while the site creation

How do you replace the default title for first comment? Mr WordPress on Hello world! I could not able to locate this in theme's comments.php file I want to edit the title 'Mr wordpress on Hello ...