All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
217 views

Why does my Posts page only show a single post when using Thematic?

This seems to be a Thematic theme bug becuase if I switch to other themes, everything is working as expected. This is not the first time I created a frontpage using a static page. I made sure I ...
0
votes
2answers
246 views

Error activating certain plugins

When I try to activate All-In-One SEO Pack or ANY (I've tried all by now!) caching plugin, the page goes blank - i.e the content of the page empty, except the WordPress bar on the top and the toolbar ...
2
votes
1answer
80 views

How to run scripts when a new blog is created in Buddypress?

I'd like to insert some mysql data into every new blog that's created on my buddypress system. How can I hook up to the newly created blog data? ID, for example, would allow me to insert it right from ...
0
votes
2answers
1k views

Theme Advanced Styles in Visual Editor and Paragraphs

After i add these codes to functions.php: add_editor_style(); function childtheme_mce_btns2($orig) { return array('formatselect','styleselect', 'underline', 'justifyfull', 'forecolor', '|', '...
0
votes
1answer
1k views

add_action for publish_post doesn't work

I'm working on a personal voting plugin, I don't intend to release it publicly because I'm still learning WP. In general, you can vote posts "up" or "down". I have 2 tables, one collects IPs (to ...
1
vote
1answer
396 views

Custom post type - get_day_link()

How can I get the archive links for a custom post type? get_day_link() doesn't seem to work
2
votes
2answers
2k views

How to show only images with a certain tag with NextGEN gallery plugin?

As described, how can I show only the images with a certain tag on a Wordpress blog that use NextGEN Gallery as gallery plugin? NextGEN Gallery version is 1.5.5 but I can upgrade to 1.6.2 (last) if ...
1
vote
1answer
443 views

On click hide group of metabox, similar to screen options checkbox?

I have several metaboxes in the edit screen. I would also create another metabox where the user can click on a checkbox then it hides a set of metaboxes, similar to the Screen Options functionality, ...
0
votes
1answer
316 views

How to use Canonical URL meta tag to avoid duplicate content issues with WP home pages

By default, Wordrpess sites have at least 2 URLs that can be used to reach the home page: www.site.com/ www.site.com/hello-world Both these URLs point to the same page, the default "hello world" ...
17
votes
2answers
41k views

How to customise the output of the WP image gallery shortcode from a plugin?

We're building a plugin that displays posts, and we also want to display the image gallery when it is used in a post. However, we need to limit the number of photos displayed? Is that possible?
5
votes
2answers
5k views

Is There A Hook To Process The Content Of The Text Widget?

Is there any filter which can be used in a plugin to process the content of the text widget before it is rendered?
1
vote
2answers
2k views

use %post_title% in description (All in one SEO Pack)

I am not able to use %post_title% in the description part ,it's displaying as %post_title% itself.. we can use other tags like %blog_title% , but the %post_title% is not working .. please help.. ...
1
vote
2answers
405 views

WYSIWYG-able Footnote Plugin [closed]

Is there a WP plugin that allows user to edit in-page footnotes in WYSIWYG manner? No weird syntax. No HTML pane. Update: Perhaps I'm missing something, as I'm new to WP. All footnote plugins ...
2
votes
2answers
4k views

Reproducing hierarchical list output from wp_list_categories(), using get_categories()

I need more control over the category listing output, so I'm using get_categories(), instead of wp_list_categories(). This function returns a flat array of objects ordered by a certain attribute. How ...
1
vote
1answer
158 views

Adding HTML to the Header, Screws up in IE7

Working on a site for a client: http://esteyprinting.jasinternetmarketing.com/ I added an HTML table to header.php to include the "Call us at..." and the social media icons. It renders fine in most ...
2
votes
2answers
2k views

Search result permalink

how to make permalink available for search result page /?s=one+two+ok to /search/one-two-ok/ thank
2
votes
1answer
2k views

Querystring data gets truncated

When I check "view source > frame info" on the window produced by the jQuery code below, it cuts off the querystring at the &type=image. I'm url encoding the ampersands properly, right? Address: ....
61
votes
2answers
100k views

How can I add an image upload field directly to a custom write panel?

I've added a new page under "Pages" in the wordpress admin, and added several custom fields. I'd also like to be able to add an upload image field to the page editor - is there some way to do this via ...
3
votes
2answers
472 views

Error getting correct blog_id on MU from functions.php

I have script in my functions.php that seeks to locate the media directory of the site in which the theme is installed. This is pretty simple unless the site is an MU site. In that case, the media ...
5
votes
1answer
3k views

Styling Shortcodes in Visual Editor

Does anyone know how to style the visual editor so that when specific shortcodes are used they are replaced with an image within the visual editor? I have found that many users screw up the shortcode ...
2
votes
2answers
3k views

Conditional add_filter?

I need to apply an add_filter from my functions.php but only if the user has opened media-upload.php from my custom function. Is it possible to send a variable when opening media-upload.php that I ...
1
vote
1answer
2k views

Image as a link using wp_nav_menu()

In creating a custom navigation menu in TwentyTen ( WP3.01), is it possible to make an image a link to a page on the same site, using wp_nav_menu() ? Is it the case that wp_nav_menu() echos or returns ...
1
vote
1answer
634 views

Duplicate Custom Header Functionality into the post edit screen

Within wordpress 3.0 you have the ability to create a custom header image with a very slick built in cropping tool. I found out that the code being utilized for this is located within wp-admin/custom-...
4
votes
3answers
2k views

Attach Files Metabox

Does anyone happen to know how to create a simple "attach/browse" button that can be placed into a metabox which upon clicking it would open a lightbox where the user would be able to view all the ...
1
vote
1answer
356 views

Querying custom fields with Carrington mobile theme

Does anyone know why querying custom fields does not work in the Carrington mobile theme? I´m using this: get_post_meta($post, 'key', true) But the query does not return anything. Anyone know why? ...
2
votes
2answers
14k views

How to display category information from a custom post

I have created a page that uses custom posts: http://www.africanhealthleadership.org/resources/toolkit/ Each tool (Preparation, Assessment, etc.) is a custom post. On the WP Admin, each tool is a ...
2
votes
1answer
1k views

Can I add custom meta for each image uploaded via media-upload.php?

I'm calling media-upload.php via a custom icon click inside the content editor and I would like to add a custom meta value for all images that are uploaded when the media-upload.php is called from my ...
0
votes
2answers
253 views

WordPress Category Question

I cannot figure out how to use the wp_list_categories function to do what I need it to: <?php if(is_page('realisations')) { ?> <ul id="subpage"> <li><strong>Les secteurs&...
2
votes
1answer
967 views

how do I filter single_cat_title to remove all instances of a particlular word

I have certain names in my category title (that need to stay there for other reasons). I am displaying all category titles with the blog name prefixed, but on categories that already have this name I ...
5
votes
2answers
6k views

How to customize the default HTML for Wordpress Attachments

I'm using Wordpress 3.0.1 (most recent as of now) and working around the Whiteboard theme. It seems that for attachments (images, specifically), Wordpress generates the HTML automatically and it ...
4
votes
2answers
265 views

How To Provide Sub-Blogs Their Own Domain Names?

I ran a search that did not yield that many results. Is it possible, and how can each sub-blog of a multi-site installation be given its own domain name?
6
votes
3answers
3k views

Creating two database tables via plugin

I'm working on a voting plugin for my site and I want to create 2 tables: one that stores votes and another that stores voter ips. In Codex it suggests to use an if statement to see if the table has ...
5
votes
4answers
563 views

How to keep a Wordpress site synchronized between two servers?

I have a WordPress site running in a dedicated server in hosting A and I would like to keep it synchronized with a copy in another hosting server for fail over protection. Is that possible?
3
votes
3answers
6k views

Best way to filter featured image text for a custom post type?

I am trying to change the "Set featured image", "Remove featured image", and "Use as featured image" text links of a custom post type for my plugin Meteor Slides. I found the "...
0
votes
1answer
80 views

Duplicate content with incremental titles. How is this happening?

I was looking through the crawl results of my SEO Moz app and saw that there are somehow many copies of certain pages that have titles that are the exact same except for a number added to them. An ...
0
votes
2answers
731 views

Can I add an icon & function to the “Upload/Insert” toolbar at the top of the content editor?

Is there a built-in filter to add a custom icon and function to the WordPress "Uploads/Insert" toolbar? This is the toolbar that's located just above the content editor. The existing icon I want to ...
11
votes
2answers
1k views

WordPress Code Flow

I was interested in checking out how the WordPress code flow works... When I googled it, ( probably with the wrong keywrods), all I ended up was this; http://codex.wordpress.org/User:DavidHouse/...
2
votes
3answers
1k views

How can you determine whether an image is merely attached or has actually been inserted into a post?

Bear with me. I promise there's a question when I'm done :) In WordPress, you can upload images while editing a post and have the option to insert them into the content (or not). Regardless, the ...
0
votes
1answer
288 views

Remove problem PHP code entered into footer via Theme

A friend of mine has a WordPress site using the Theisis theme. Recently he added a bit of problematic PHP code to the footer via the Theme (not into a PHP file). The PHP code is erroring out causing ...
5
votes
2answers
9k views

Limiting sessions to one IP at a time

On a site with premium user account subscriptions, I'd like to be able to limit logins to one computer at a time. The most straightforward way to accomplish this would be to limit by IP, but I haven't ...
7
votes
2answers
4k views

How to add a checkbox element to attachments editor with example

The code below adds a custom input field to the attachments editor. How can I convert the text input to a checkbox and get/set the value of the checkbox on load and save? Note: "input" => "...
0
votes
1answer
824 views

How to get blog-id of an MU site from functions.php

How can one determine, from functions.php, the blog-id of the site (or alternately, the path to the media directory)?
2
votes
1answer
98 views

How to test for MU via functions.php?

What is the call to determine, from a theme's functions.php whether the site is an MU site or not? Updated with answer: $dir = is_multisite() ? 'wp-content/blogs.dir/'.$current_site->blog_id.'/...
0
votes
2answers
639 views

Creating a job board using WordPress (for free)? [closed]

I found several plugins/themes for creating a job board with WordPress, but only one solution which is free (see here) Are there any other free solutions for doing that?
2
votes
1answer
2k views

How do I pass variables into short-code enabled Post Snippets in Wordpress 3.0?

I am using a plugin called Post Snippets. According to the documentation, it can substitute variables, such as {url} within the snippets. http://wordpress.org/extend/plugins/post-snippets/ I am ...
3
votes
1answer
997 views

How to set up sub-categories for author pages?

I am setting up Wordpress for a school. They want to enable teachers to have their own section of the site where they can create posts in different categories (assignments, events, etc). I know that ...
0
votes
2answers
937 views

Where do files uploaded via Media Manager get stored in MU?

Standard WordPress sites, at least of the versions of WP I've tested, store files uploaded via the Media Manager under wp-content/uploads/ Where do these same files get stored in MU sites and how can ...
13
votes
4answers
4k views

Override default url for author pages?

So the default url to display a list of posts by a particular author looks like this: http://domain.com/author/{username} I am wondering how to change the 'author' in that url to something else? I ...
2
votes
1answer
290 views

Highlight Author Comments issues

So a few days ago I added the following code to Geek for Him and obviously missed the nested comments portion. This is implemented on many other sites of mine, without Standard Theme of coarse and ...
0
votes
2answers
531 views

Encoding Method for URLs?

Is there a method or API that WordPress uses to encode the URLs similar to how it generates part of the URL when using the title in the URL? I am writing a plugin that generates URLs and would like to ...

15 30 50 per page