All Questions

1
vote
4answers
201 views

how do you create an admin interface in plugin for your theme

I'm creating a theme that would need some settings on the client side. So I need a admin interface where they can set some values. (like, source of image, title, or numbers) so in my theme, I can ...
1
vote
1answer
484 views

Search in Two Categories

I want to search in two categories without using the search box at all. So far, I have this code to display the desired categories, <?php wp_dropdown_categories('child_of=3&hierarchical=1&...
20
votes
7answers
30k views

Using wp_trim_excerpt to get the_excerpt() outside the loop

I'm building a theme that is going to show excerpts on the homepage for potentially dozens of posts. I don't have manual excerpts on all of my posts, so $post->post_excerpt is empty for many posts. ...
1
vote
3answers
160 views

Wordpress blog post cloned and stolen?

I'm not sure if this is the right place to ask this but last night i made a post on my wordpress powered blog here: http://blog.twostepmedia.co.uk/css3-still-novelty-or-usable-in-everyday-web-...
-1
votes
1answer
333 views

How to protect wp-admin from third party access?

How can the wordpress administration panel and the login page wp-login.php be hidden such that only the website administrator can access it? Can the URL be rewritten through some mod_rewrite rule ...
2
votes
2answers
4k views

Query between two meta values?

How do I limit the query by two custom meta fields, a start date and an end date? This is what my data looks like: meta_key | meta_value | ------------------------| start_date | 20100131 | //Jan ...
4
votes
6answers
2k views

Can Wordpress realistically handle a site with 500 'pages'?

I'm building it from scratch and probably a 100 or so of those pages will be ecommerce. I would like to create meaningful, normal looking permalinks for aesthetics and SEO. I would really love to ...
3
votes
2answers
1k views

$wpdb->insert is changing a value

I'm writing a plugin called 'Featured Releases' for a client. The user fills out a short form in the admin area which inserts some text and an image id into the wordpress database via $wpdb->insert. ...
0
votes
3answers
781 views

sliding/fading header plugin or approach suggestion

i need advice in implementing rotating header (has fade or slide effect) in my theme. I'm building a theme based on Thematic and I'm looking for a good approach on how to implement the header. I have ...
2
votes
1answer
607 views

Need Help Finding a Wordpress E-Commerce Plugin That Utilises Custom Post Types [closed]

I am currently in the middle of developing quite an extensive and complicated record label website that uses post types and a whole bunch of relationship mapping to map post types to one another. ...
1
vote
2answers
228 views

Is there a wordpress function that I can use to retrieve the current page that is loaded?

Suppose that I create a page in the admin section (under 'Pages') and I have permalinks turned on and this pages slug is 'my-new-page', then is there a WordPress function that will work outside the (...
2
votes
1answer
1k views

Having issues with wordpress pagination with multiple categories

I’m having issues with my pagination in wordpress. Whenever I navigate to my archive section (news category), pagination works correctly. But, the issue lies with the plugin I’m using to generate a ...
1
vote
1answer
2k views

get_the_excerpt() is not returning an empty string when the_excerpt is blank?

In the code below represents a link list of recent posts. I'm just trying to write out the post name, along with the post excerpt if one exists. So I'm using the get_link_excerpt($post) function in ...
3
votes
6answers
526 views

WordPress and Security

Are there some simple ways to beef up the security on a WordPress site?
0
votes
1answer
155 views

JS behavior differs depending on page tree [closed]

I'm a developer for a very large real estate plugin and I'm having a lot of trouble with one of our agent sites: The init methods used to initialize ajax functionality are called using a jQuery(...
8
votes
3answers
12k views

How to echo the_excerpt without the P tag wrapper?

In the code snippet below, I trying to get the_excerpt to be written out without tags. However, the source formatting shows that the_excerpt is always wrapped in P tags. How can I pull the excerpt ...
1
vote
1answer
188 views

Using HTACCESS for Secret Access

I saw this post yesterday http://digwp.com/2011/01/simpler-login-url/ where a 'custom' word is used to direct the user from url.com/admin to url.com/wp-login.php and I'm asking (also did so in the ...
8
votes
3answers
16k views

How to prevent escaping when saving HTML code in an option value?

I have a Theme Options page where the user can add certain options like Facebook links, etc. One of the options is for some ad code and when saving it as an option it gets escaped over and over again. ...
0
votes
2answers
824 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
2answers
1k views

Make insterted image point to post url instead of attachment page

I am inserting an image in a post and I want it to point to the post detail page, not the attachment. What should I do? Thanks in advance.
1
vote
3answers
874 views

404 regular-expression advice needed

I have been working hard trying to understand regular-expressions to use in my web site using the redirection plugin. I have changed my permalinks a few times in the past year because I did not know ...
0
votes
1answer
1k 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 ...
6
votes
3answers
1k views

Replace audio/video enclosure with player?

Current state: I'm parsing XML feeds into the front end and/or the back end (Admin UI), but not into the DB. Inside those feeds i place mp3- and video content, currently only as plain text (no link, ...
-1
votes
1answer
545 views

Need specific kind of “Poll Voting” for Wordpress [closed]

I'm designing a website for a client. I don't really know how I got landed with all the backend structure code, but I did. I'm not an awful programmer, but I need something solid to work off, I can't ...
6
votes
2answers
10k views

Making a plugin file accessible via url rewrite?

In my WordPress plugin I have a php file that generates some stats about the blog and outputs it as a simple text file. To access WordPress functions I've included this at the top of the file: define(...
0
votes
2answers
352 views

Creating Multiple Menus in the Thesis Theme?

How can I add three menus to the Thesis theme? I want a menu above the header image, one below the header image and one in the footer. A neat step by step instruction like this for Twenty Ten would be ...
1
vote
2answers
509 views

Add common Post Actions to Custom Meta Column

I've created a custom post section and removed all of the default items (title, editor, etc...) using add_action and added my own custom meta boxes. The Issue: Since i've removed the default Title ...
7
votes
3answers
8k views

How can I add a custom column to the “Manage Categories” table?

I've done this with posts, but I can't find the proper way to reference the category table's columns. I'm trying to add a column titled "Image" to the table, so that when the table grid of categories ...
2
votes
2answers
426 views

Display types of posts in edit.php instead of All, Published, Scheduled and Draft

By default, the post list (edit.php) in the admin panel displays a couple of options. It looks like this: All (10) | Published (8) | Scheduled (1) | Draft (1) I want to change this to display ...
0
votes
1answer
221 views

pingbacks testing

I have a few questions regarding functionality testing of PBs in a new wp installation (3.0.4): Are pingbacks sent immediately when a post is published, or are they scheduled as a cron job? If the ...
1
vote
3answers
107 views

Styling images coming from another blog

I had asked a question earlier, on getting post-thumbnails from another WP-site. There, the awesome Mike coded a SQL query whose results are then passes on to a PHP array. The piece of code from that ...
1
vote
1answer
2k views

Filter get_cat_id for Custom Post Type

I have this simple snippet to retrieve the categories (taxonomies) of my Custom Post Type 'portfolio' I need to display each taxonomy but it displays all the categories. I just saw this question ...
0
votes
1answer
955 views

On what point (hook) does the_/has_post_thumbnail() load?

I got some problems during my loading priority/order that i already discovered. Now i ran into the problem that i can't use any post_thumbnail functions (get_post_thumbnail_id, has_post_thumbnail, ...
0
votes
1answer
168 views

problem with wp theme uploading to server..?

Please help me out.. I had uploaded new theme(child theme) in clients server.Theme folder has twenty ten and child theme now.But when i activated the theme in admin side ,the twenty ten shows the ...
0
votes
5answers
2k views

I have a 1300 line excel spreadsheet that needs to get into a wordpress site ASAP - Looking for ideas

I have an excel spreadsheet that needs to get on a WP site PDQ and IE is choking on it. I tried making an html table, but it's huge. I looked into some kind a database plugin that would let me ...
8
votes
5answers
12k views

Custom Post Types: How-to get rid of editor (-meta box)

I'm questioning how i can get rid of the post-editor (visual + html). I tried to not register post type support, and it still appears (de-registering works fine with every other default meta box on ...
2
votes
2answers
453 views

Is it better to create a Git repository at the root level or in the WordPress theme directory?

I've currently been creating my Git repositories at the root level for each of my WordPress installations. Git of course then notices any core updates, plugins, and uploads. I'm considering just ...
0
votes
1answer
67 views

How would I got about calling a php file every time someone publishes a new post?

I've got a custom php file that I want to call every time someone publishes a new post. How would I go about doing that? Can I write it into the functions.php of my theme?
2
votes
1answer
698 views

How do I add paragraph tags to all of my posts after relying on wpauto?

I found a way to export my posts in text form so that I can move them to a blog with static pages. The only problem is that there are no paragraph tags, so every post is a huge block of text. I had ...
0
votes
1answer
331 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 : http://www....
1
vote
3answers
10k 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 ...
2
votes
1answer
3k views

How do you remove slug altogether from custom post type?

For a custom post type page I'd like to completely remove the slug so that the URL structure mirrors http://my-domain.com/CPT-title/ or http://my-domain.com/CPT-category/CPT-title . If I set the ...
2
votes
1answer
1k views

Twitter-like follow system, is there any plugin?

I'm running a multi-author wp site and I'm looking for a plugin that adds a "Follow me" button near the author name so the user can follow his favourite author. I need also to display the other users ...
0
votes
2answers
400 views

How to alter the order of custom form fields

I've added a "Custom Title" field to the Category editor in order to capture a keyword friendly title that can be used separately from the category name. It works great, but it appears as the last ...
0
votes
1answer
154 views

How to conditionally include a custom field on category editor screen not category “add” screen

The "manage categories" screen has two interfaces, one when you first click on "Categories" which is used to add a new category and another once you click on an existing category to edit it. I've ...
0
votes
1answer
222 views

How to filter manage categories listing

I'm successfully using the function below to trim the length of my category descriptions when viewing the manage category screen (thanks Rarst). Suppose I want to remove children of the "...
1
vote
1answer
344 views

WP-DownloadManager - Query most download per week/month etc

I'm using this plugin (http://wordpress.org/extend/plugins/wp-downloadmanager/) as my download manager. While it's very simplistic and does great for what i need, the statistics to output on the site ...
0
votes
2answers
983 views

How to add 'use_desc_for_title = 0' to all wp_list_categories calls?

My category descriptions are extremely long, so I don't want the descriptions to be used in the title attribute of my category lists. However, WP does this automatically when it outputs the default ...
20
votes
5answers
13k views

Change “Enter Title Here” help text on a custom post type

I have a custom post type created for a directory that will end up being sorted alphabetically. I will be sorting the posts in alphabetical order by title, so I want to make sure that the Title is ...
0
votes
1answer
1k views

How to get a list of child ids for a named category?

I believe I could do this with either get_categories() or wp_list_categories() and passing a 'child_of' parameter, for example, but that would return a much larger dataset than I need. Is there a ...

15 30 50 per page