1
vote
2answers
315 views

Default category link for a custom category is a broken link

I'm developing a Multisute plugin that is supposed to setup sites using a specific template, including setting up several static pages and menu items, as well as a "Blog" category for blog posts. The ...
1
vote
1answer
112 views

Wordpress Image update filter

I can't seem to find the filter for an image update. Right now I have the code below, which works great until someone clicks on an image in the editor and updates it. Then it throws the height and ...
2
votes
1answer
643 views

How to Sort Custom columns in admin

I have set a custom column for date in admin, but the sorting is not working, when I click to sort the dates are jumbled up and not sorted correctly. This is the sorting function Im using function ...
-1
votes
2answers
37 views

How do I link to the posts page?

How can I link to the posts page that has been set in Settings > Reading? This is for a premium theme so it can't just be the page's permalink.
0
votes
1answer
41 views

WordPress linking

On my homepage, I have several links that should link to different parts of my website. The first link should be redirected to a custom post type that has the slug portfolio. The other links should ...
0
votes
1answer
95 views

How to change order of posts in admin

Hi I have set a custom post type with some custom fields, one of the custom fields is a date field which is different from the publish date of the post itself, which is by default used by WordPress to ...
0
votes
1answer
3k views

register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead

I turned on my Debugger and got this error... Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in ...
1
vote
2answers
368 views

display random posts on index.php instead of latest

I have the settings so only one post (which is by default the most recent) displays with index.php my current working code <?php if (have_posts()) : while (have_posts()) : the_post(); ?> How ...
0
votes
3answers
168 views

Fast publishing in wordpress

Wodpress editor is too slow. How to create other faster interface or how to fast publish posts. I just need fileds for author, category and subtitle. Is there any way instead of default wordpress ...
-1
votes
1answer
82 views

Are there established patterns for developing custom post types?

I'm working on a custom post type. It has meta boxes, and it also adds meta boxes to other post types. It comes with some convenience functions to find posts of its type or the meta data it adds to ...
1
vote
1answer
228 views

Change get_current_user_id code to the author's profile

I've been modifying a long abandoned plugin project that provides a Stackoverflow inspired badge system for Wordpress. I have upgraded some of its code so it functions with the new Wordpress version. ...
0
votes
2answers
438 views

Custom Post Type Base URL

Is it possible to not use the loop for the base URL of a custom post type. So for instance if my custom post type is 'directory'. I don't want http://www.mysite.com/directory/ to land at the loop ...
0
votes
1answer
161 views

white page after php code insert for custom post type [closed]

I get a white page in the frontend (not in the backend) after inserting the php code for the custom post type. See code: page-custom.php: <div class="infoboxen"> <div class="box"> ...
1
vote
2answers
79 views

Create a page that's to not be indexed or accessible via slug

I'm in the process of creating rather complex sites with Wordpress. I'll have a page template that collects data from other pages and shows them on one page. These pages are not used anywhere else ...
0
votes
1answer
380 views

Start Query from 2nd Post without offset

is there a quick and easy way to load all the posts, starting with the second post and making the first post the last post? If I use offset, I then lose the first post, but I don't want to lose it, I ...
1
vote
4answers
532 views

Updating wp_options with an array on save_post results in duplicated entries

I'm not entirely sure this is Wordpress' fault, but I figure I'd ask anyway and see if anyone else has experienced any problems like this before. I'm trying to save an array to a wp_options table ...
0
votes
1answer
263 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
603 views

How to install Google Analytics onto site without internet access

I just created an intranet site for the company that I work for. The IT department will not allow my site to access the internet for security reasons, but my boss still wants Google Analytics ...
0
votes
1answer
21 views

Problem using the word “RSS” as a tag

I'm using RSS as a tag for some of my blog posts, and I was using them without any problem. myblog.com/tag/rss/ But I've just realised that Google Webmaster Tools gives me some related errors. The ...
0
votes
2answers
616 views

Single Post Breadcrumb not linking back to Custom Post Type Index?

I am using a breadcrumb code that will not place a link on two custom single post pages linking back to two custom post type index pages. The full Breadcrumb code can be seen here: ...
0
votes
1answer
278 views

Pagination not working on page template

Hi I have created my index.php file as a blog template and on my website I am creating a page using that template.The problem is that by doing it this way pagination is not working anymore.It worked ...
1
vote
2answers
132 views

Plugin for custom posts and fields [closed]

I need a plugin to do the following: Add custom posttypes such as "Books" or "Cars" Add custom fields such as "Url", "Label", "Number of wheels", "Name of passenger" or "Age of passenger" There ...
0
votes
1answer
246 views

Can I have two submit buttons in one form? [closed]

I want to provide 2 buttons in one form. User click either button can submit the form but do different jobs-- one button is to import checked files, another button is to create fiels. Will this ...
0
votes
6answers
12k views

Disable Or Redirect WP-login.php

Is there a way to prevent visitors, whether logged in or not, from reaching mysite.com/wp-login.php? I have a separate login form which is all we need. I know I can re-style the form generated by ...
0
votes
2answers
216 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
3
votes
1answer
783 views

WP_Query not looking at child category

Hi all I have a loop that shows a post on a single page and puts the first category name in the variable $cat: $cat = $category[0]->cat_name;?> Now after the post I have a link to show ...
1
vote
1answer
106 views

Sorting posts by custom field value

I am trying to sort posts by their custom field value, which is a date in this format: 9 August 2012, 7:18 am 'orderby' => 'meta_value', 'meta_key' => 'wprss_item_date', ...
1
vote
1answer
56 views

Delete custom fields when deleting posts

When I delete a bunch of posts their custom fields remain in the database, is there a way to remove them as well on deletion?
1
vote
0answers
89 views

Unset color set in Theme Customizer

I'm building a theme using the Theme Customizer and have a few options with color pickers. It seems as though once you set a color using the color picker, there's no way to clear/remove/ unset it, is ...
2
votes
1answer
230 views

Improving a Stackoverflow “inspired” badge system to display badges in author page

I've been modifying a long abandoned plugin project that provides a Stackoverflow inspired badge system for Wordpress. I have upgraded some of its code so it functions with the new Wordpress version. ...
2
votes
1answer
353 views

Adding a querystring to an image URL when clicking 'insert into post'?

I have written a plugin which does some fancy stuff with GD lib when you upload an image. Everything is working fine, however I need to get the image title and add it to the image URL (and file name ...
4
votes
1answer
521 views

How to use cache with simplepie

According to the docs, if you want to cache results for a fetch of RSS feeds with simplepie, you do this: add_filter( 'wp_feed_cache_transient_lifetime' , 'return_7200' ); $feed = fetch_feed( ...
1
vote
1answer
38 views

how to add text to posts from tags

How can I add custom generated text to posts using text from tags? Something like: [Post Title] + custom text + tags + custom text .... Or is there a plugin which does this ?
0
votes
1answer
111 views

Advice for a Newbie Wordpress Web Designer/ Themes? [closed]

I am digging into a freelance career and I would like to know what the best advice is out there when it comes to buying themes for clients? What is the best practice? Themeforest? Bundles? What ...
2
votes
1answer
843 views

How to use custom post type APIs, but use a different db table

We currently have a plugin that creates a new WP table, but it recreates the wheel when it comes to managing/updating data. It would be a good candidate for custom post types, but we don't want to ...
0
votes
3answers
610 views

How can I show my latest tweet in my wordpress blog?

How can I show my latest tweet in my wordpress blog? in functions.php not use any plugin
1
vote
2answers
138 views

How do you Permanently Delete Sidebars

I'm developing a custom theme and I added some widgetized sidebars like so: register_sidebars(2, array('name'=>'Foobar %d')); I then recreated them so that I could give them semantic names. Like ...
1
vote
1answer
137 views

Register page in admin area

Ok, so I have a table in my admin area for my plugin. Each row as an edit button, which should post to the edit page. I don't know how to add my php edit page to the registered wordpress page, though, ...
1
vote
1answer
1k views

Using Zurb's Foundation Tabs as Wordpress Nav (Active Tab)

This is a question more geared towards those of you out there that have experience working with the popular SASS/JS Framework, Foundation by Zurb. I am trying to use it as my structural core to my new ...
6
votes
1answer
203 views

Gettext details

I've got a few gettext() questions that are not covered anywhere in WordPress Codex but I think they are important. __('string') in THEME should be used for strings that are likely to be present ...
1
vote
1answer
1k views

How to remove the HOME menu item

I am using wordpress 3.4.1. I am mainly creating a static site and for that have created and arrnaged the pages, and wordpress has nicely created the pages in proper nav-menu format for me, which is ...
2
votes
3answers
2k views

Using custom/dynamic “slug” for a page

I have a custom page which uses a template called "Stores" http://example.com/stores/. This page will have a list of states and/or companies as categories. For this system I have a custom post type ...
1
vote
2answers
194 views

I Cannot Create New Category

For some reason I can't add new category. I changed the browser and even tried on my iPod Touch but it still did not do anything. It did not show any error message, No Nothing. It's like the new ...
2
votes
2answers
396 views

wp_nav_menu show 1 item only

I was reading Wordpress documentation and also trying to find some clear example of how to do this but I couldn't, sorry if this is posted elsewhere but I did my best trying to find an answer before ...
1
vote
0answers
121 views

Debugging unserialize errors

NOTICE: wp-includes/functions.php:232 - unserialize() I get this error of varying lengths on the admin pages of several of the sub-blogs of my multisite instance. It doesn't happen on all the blogs, ...
0
votes
2answers
1k views

Is there a way to insert multiple images into a post at the same time without using a gallery?

I'm trying to find a way to add multiple images to a blog post in wordpress at the same time. I want to be able to write text above and blow the images, just like a normal blog post. It takes a lot of ...
1
vote
1answer
252 views

Function to show only first instance of shortcode

I need to add a function to my theme to remove additional instances of a shortcode in a post. First off I wonder if i'm approaching this wrong, but I have a theme that is drastically reformats the ...
0
votes
1answer
573 views

How to recover lost username?

I have a blog (www.ahsrocketlaunch.org) and need to update to the latest version of wordpress. However, I cannot remember the username I used to set up the wordpress account. therefore, I can't ...
1
vote
2answers
193 views

I'm looking to add membership to my site, any plugins that would be compatible [closed]

To put it simply, I'm looking for users to be able to subscribe for 'X' amount a year. This would allow them to edit their own space on my site. Once they subscribe, I'd like the plug-in to create a ...
0
votes
0answers
22 views

Custom post type not displaying content from single-{custopm post type} page ctd [duplicate]

Possible Duplicate: Custom post type not displaying content from single-{custopm post type} page I want to continue on the discussion -> Custom post type not displaying content from ...

15 30 50 per page