All Questions

2
votes
2answers
14k views

Getting Wordpress custom taxonomy/category?

Well, I'm using my own taxonomy for custom post type. It looks like this: register_taxonomy("our_gallery", array("gallery"), array("hierarchical" => true, "label" => "Types", "singular_label" =&...
1
vote
3answers
283 views

Visual / HTML tabs vanished on editor

The Visual / HTML tabs have vanished on the editor on posts and pages. I'm not sure when this happened, but I've tried deactivating my plugins with no joy. Any ideas? Thanks, Lucy
0
votes
1answer
2k views

How to automatically generate custom menu item from categories?

I would like to display all my category items under a single parent but I failed to do so now I'm creating a new menu link for each category and dragging it into place in the custom menu screen. Is ...
-2
votes
2answers
258 views

Jquery based image accordian plugin

I found a image accorian menu plugin based on mootools farework. Please suggest if any based on jquery framework.
0
votes
2answers
615 views

Custom Download Link

How can I set up wordpress to recognize www.example.com/wp-content/uploads/2010/12/history.pdf as something like www.example.com/about/pdf-download/ I also want the user not to see the actual ...
0
votes
3answers
969 views

How do I move a Wordpress site to another server?

i'm using this sql.. but it does not work UPDATE wp_options SET option_value = replace(option_value, 'http://old.com, 'http://new.com') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE ...
1
vote
2answers
655 views

Make blogroll links no-follow?

How can I add a nofollow option to my blogroll links editor? Attempted to just type "nofollow" into the "rel" input box, but its auto deleted onblur. If I turn javascript off (thanks to Matt's ...
2
votes
3answers
617 views

Are page/post IDs unique across a whole network?

If I have a page with ID 123, I know my template file page-123.php will be called to render it, but if my theme is used across a network, could a page in a different site also have ID 123? I assume, ...
2
votes
3answers
2k views

wp_list_pages doesn't work in hierarchical custom post type

I've been bashing my head against my desk all afternoon trying to figure this out. I've got a custom post type all set up, with hierarchical set to "true" and I can assign parents and see the ...
1
vote
1answer
2k views

Query posts by custom post type and custom taxonomy

I am writing a custom loop query to filter through a custom post type and custom taxonomy. I have replaced any variables with static values for the purpose of showing you what result I want. $args = ...
1
vote
2answers
2k views

How do I set my Feedburner feed to use my favicon?

I'm not sure if this setting is handled in my wordpress installation or by Feedburner but right now my feedburner feed is displaying the feedburner favicon. How can I set it to use my blogs favicon?
1
vote
1answer
397 views

How can I show the post thumbnail from the most recent of a certain post type, in widget?

I'm using the excellent PHP Code Widget plugin, and want to create a widget that displays the post thumbnail (aka featured image) for the most recent 'project' post. Here's the code I have so far, but ...
1
vote
2answers
1k views

Wordpress 3+ slow load times on Ubuntu 10.10

Running a test WP 3.0+ on Ubuntu 10.10 (Server & Desktop) MySQL, PHP 5.3, Apache. Installs fine and works ok, I installed a CentOS VM and wordpress is loading way too faster and its very quick ...
51
votes
4answers
115k views

How to check if a user is in a specific role?

I have a pretty specific requirement to show different text in a field label on the user profile page based on the current user's role. I can't seem to figure out how to check whether the current use ...
2
votes
2answers
3k views

“More” span making trouble

I've created my own custom post type using this tutorial: http://thinkvitamin.com/code/create-your-first-wordpress-custom-post-type/ Everything works fine, but I'm having major problem with "Read ...
0
votes
1answer
182 views

All In One SEO Plugin - Category INDEX

Anyone know how to override noindex on certain categories? I only want a few of my categories to be index but the rest not, in the All in one SEO plugin I have a setting that says "Use noindex for ...
0
votes
3answers
700 views

Spam injected in w3 total cache page cache [closed]

I'm trying to fix a site which has been injected with external spam. After inspection I found out that the external content (so far just html advertising different kinds of drugs, no scripts) was in ...
7
votes
3answers
11k views

How can I make Capital letter ( upper-case ) permalinks?

How can I make a link like this? http://www.lifecellskin.us/Dev/About the "Using_Permalinks" part, A is Capital letters. But WP automatically convert upper case to lower case. I'm trying to convert ...
0
votes
2answers
414 views

Wordpress cracked? Posts not found in dashboard

I just came back to my site from dinner and was unable to find any posts listed in the dashboard. After snooping around, I found that my .htaccess file was modified, and some new files were added to ...
0
votes
3answers
134 views

Approach to creating a site with this structure

I'm tasked with making a site that has 'families'. Each family has a gallery, a 'region', and a 'name', both of which are searchable upon. My initial thoughts about this were to create a template for ...
1
vote
1answer
328 views

how do i find out why links point to my old domain

i migrated a wordpress site from one domain to another. I still have images and links that seem to be pointing to my old domain name. where can i get a list of all places in wordpress that hardcode ...
3
votes
3answers
846 views

How exactly does Bad Behavior plugin work?

Can someone explain to me please how exactly Bad Behavior works? On their official site, they say that it uses HTTP headers, IP, and meta fingerprinting - but I would like some specifics on its ...
0
votes
1answer
4k views

attachment url rewrite

i want to change the address of the file attachment link to wordpress [example: http://www.sitename.com/category/sub-category/article.html/attachment/image etc.]. i did research on the subject ...
10
votes
5answers
33k views

Can I set a default featured image for a category?

I'm setting up a site with a theme that takes advantage of the "featured image" feature of WordPress. Since my end users are not the most tech saavy in the world, I'd like to set things up so that the ...
4
votes
3answers
5k views

How to use tinyMCE for user “biographical info”?

I would like to provide our WP users (authors) with a tinyMCE editor instead of standard textarea for their "Biographical Info" on the Profile page. I have spent a lot of time searching online for ...
4
votes
1answer
6k views

How do I make my function add variables/values to the $post object?

How do I add $tzDesc and $tzEmbed (and other variables) to the $post object in the following function so that I can display the values in my theme files by inserting <?php echo $tzDesc; ?>? ...
106
votes
6answers
139k views

Is it possible to get a page link from its slug?

Is it possible to get a page's permalink from the slug alone? I'm aware that you can get the page's permalink from the ID using get_page_link(): <a href="<?php echo get_page_link(40); ?>">...
8
votes
3answers
1k views

Is the new WordPress 3.1 admin bar pluggable and how can I extend it?

How can I extend the functions of the WordPress 3.1 admin bar in my plugins? I am looking for specific hooks and filters to use in adding links or other features to the admin bar. A good example ...
1
vote
1answer
579 views

Redirect homepage ( www.sitename.com ) to the latest post

I'm just wondering how I would go about redirecting to the latest post when you go to the web site? Similar to http://gregorywood.co.uk/ Many thanks :) Suleiman
1
vote
1answer
139 views

Server-side sorting of posts

I have seen on some websites that you can sort posts server-side by passing in some queries like so: domain.com/?sort=date or domain.com/?sort=name How would I do this with WordPress posts on a page?
14
votes
2answers
55k views

How to use checkbox and radio button in options page?

Call me stupid but I coudn't figure out how to do it. For text input I would just: <input type="text" name="option_name" value="<?php echo get_option( 'option_name' ); ?>" /> and then ...
0
votes
1answer
507 views

Update users custom profile fields

Ok guys, i have problem when using some trics from here or other sites. Im trying to use this method of adding custom user fields. But, when i add this, everytime i save its all ok, but when i come ...
4
votes
4answers
6k views

Resizing all images

I have just changed the theme on my blog, and because of a small page width, it breaks the layout. Most of my earlier images (attached in posts) are around 600px in width, and now I need to resize all ...
2
votes
1answer
809 views

Different permalink structure per category

Just for curiosity, is it possible to have a different permalink scheme for different templates or categories? For example, for post "XYZ leach review" in category pets/dogs to have "mysite.com/...
1
vote
2answers
375 views

You do not have permission to edit this user

I am using wordpress mu. My blog administrators are unable to edit users - getting the message: You do not have permission to edit this user. I have checked my plugins etc and cannot find the cause. ...
0
votes
1answer
2k views

Change url of page according to my requirements in wordpress

I am facing problem with change permalink actually I am using Redirection plugin you can see this plugin from here. http://wordpress.org/extend/plugins/redirection/ I have installed this plugin ...
0
votes
1answer
248 views

How do I change discussion settings for all blogs in multisite?

I have a multisite with subdirectories. I want to change the discussion setting so that all comments will be automatically approved. If there will be need for moderation they will be deleted later. ...
3
votes
2answers
150 views

Has anyone been able to get the aweber plugin to work

Aweber has a new api https://labs.aweber.com/ and based on that they have written a plugin: http://wordpress.org/extend/plugins/aweber-web-form-widget/ for WordPress that adds a widget. In my testing (...
0
votes
3answers
253 views

User bar above logotipo?

I am looking for a simple example on how to create a user bar or a simple theme with it that can serve me as example. What I meant is something like we have here on Wordpress Answers if u get above ...
2
votes
3answers
2k views

How to add a description to Widgets?

The codex doesn't seem to say how one would go about adding a description to a custom widget registered with wp_register_sidebar_widget(). The default description seems to be the name of teh widget ...
1
vote
3answers
309 views

What are the advantages of WordPress over other systems?

I've tried to explain the benefits of WordPress to others; comparing it to static sites is easy, as (most) everything can be done online with WP. I have more difficulty comparing and contrasting with ...
2
votes
4answers
217 views

Adminstering Large Number of Wordpress Sites

I have inherited a situation where our team supports over 100+ separate WordPress installs for various clients. I am looking to make the whole process a bit more efficient. For all of those in a ...
3
votes
3answers
5k views

Forcing all posts associated with a custom post type to be private

Does anyone know of a way to add code to the functions.php file which will automatically force all posts belonging to a custom post type to be "private" and/or "password protected" with a default ...
2
votes
1answer
4k views

Importing users to Buddypress with custom fields

Here's the setup: The client uses a proprietary custom-coded PHP CMS and is wanting to move to WordPress with BuddyPress. The old, custom CMS has a roster functionality, which I'm using BuddyPress ...
0
votes
2answers
283 views

Remove Default Blogroll Links via Plugin script

I have a plugin that I use on all my new sites to set up site defaults (deletes the "hello world" post, the "about" page, the "Mr WordPress" comment, etc...) I'd like to add a routine that removes ...
2
votes
1answer
2k views

Take Variables Set in Functions.php and Echo Them Inside My Custom Post Template

I have the following function set up in my functions.php file to allow my custom post type "Slideshow" to work. add_action( 'the_post', 'paginate_slide' ); function paginate_slide( $post ) { ...
6
votes
3answers
10k views

Remove the Featured Image Meta Box

How can I remove the Featured Image meta box? I've tried using the remove_meta_box function and specifying the boxes ID but it doesn't seem to work like it does for the other native meta boxes. ...
1
vote
1answer
761 views

Automatic updates not working/plugins not installing

I am trying to run an automatic update from Wordpress 3.0 to 3.02. However, I get the following error message: "Unable to locate WordPress Root directory. Installation Failed" I also cannot ...
7
votes
5answers
4k views

“Quick Edit” > update clears out my custom meta values

I have two custom meta fields that I've enabled for each post, scottb_customHeader and scottb_customTitle These work fine as long as I'm using the full edit feature to edit posts. However, when I ...
0
votes
4answers
363 views

Problems with moving my Wordpress site to another domain/server

I'm having problems moving a wordpress site from one domain to another. I've searched the site but couldn find a useful answer for my situation. Here's what i did: I made a backup of the website. ...

15 30 50 per page