question
stringlengths
0
34.8k
answer
stringlengths
0
28.3k
title
stringlengths
7
150
forum_tag
stringclasses
12 values
I want to have my front page, with three columns, each assigned to a different category. Ideally I would like to query to fetch one post, per column, per page where possible, leaving the column empty if not. My current loop simply gets 3 posts at a time. It is reasonable to assume that the 3 will not be one of each cat...
My recommendation would be to use a separate query for each column - getting 1 post per category - and pass the global <code> $paged </code> variable into each. This should exhibit the behavior you described in your question (at least it does on my site). My setup I have a top section that displays the 5 most recent po...
How can i call an article from each category and still paginate properly?
wordpress
Does anyone know how to add an admin menu separator? I found this but it did not help. http://lab.yukei.net/wp-code/nav.html?wp-admin/menu.php.source.html Any ideas?
Here's a quick and dirty way to get what you want. Background WordPress stores admin menu sections in a global array called <code> $menu </code> . To add a separator you add an element to the <code> $menu </code> array using an index that is between the indexes of the options that you want to separate. Using the <code>...
Add a Separator to the Admin Menu?
wordpress
( Moderator's note: The original title was "How can I create a widget area in the navigation bar (Genesis specific)?"( I'm trying to create a widget area in my navigation bar. I'm attempting to adapt this from Bill Erickson's excellent tutorial here on adding static content to the navigation bar. This is the code I've ...
You are adding filter, not an action. I don't know how Genesis hook works, but native <code> wp_nav_menu_items </code> passes (and expects back) markup of custom menu items. Instead of echoing your additional stuff you should append it to input and return. This is clearly how it's done in tutorial you linked to: <code>...
Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?
wordpress
Google Webmaster Tools can see it, but I can't find it. Any idea on how it's generated or where it is the file structure? I don't see the file in my root. My website is at http://mikewills.me and the robots.txt file URL is http://mikewills.me/robots.txt. In the end, Google isn't indexing my site and I am trying to figu...
It's dynamically generated by the function <code> do_robots() </code> , which has both an action ( <code> do_robotstxt </code> ) and a filter ( <code> robots_txt </code> ). If you create a <code> robots.txt </code> file in your WordPress root, it will (probably) be served up when <code> /robots.txt </code> is requested...
Where is the robots.txt stored for a WordPress Multisite install?
wordpress
I have a Contact Form 7 form as a page on my site. I'd like to place the contact form on the sidebar. How can I do this?
Have you tried the options suggested in this WordPress Support thread ? They range from copying the generated code in a Text Widget to parsing the shortcode yourself in your template ( <code> &lt;?php echo do_shortcode('[contact-form 1 "Contact form 1"]'); ?&gt; </code> ).
Contact Form in sidebar
wordpress
I've created a custom post type and custom taxonomy. I can now create a new post and associate it with a custom category. The problem is listing these news post types. This: <code> $loop = new WP_Query( array( 'post_type' =&gt; 'sobeedesce' ) ); while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); the_title(); echo...
I suppose your custom taxonomy slug is 'cat_sd', right? If so, the right query would be: <code> $loop = new WP_Query( array( 'post_type' =&gt; 'sobeedesce', 'cat_sd' =&gt; 12 ) ); </code>
List Posts of a Custom Post Types Ordered by Terms of a Custom Taxonomy?
wordpress
I have a blog about programming hosted on WordPress.com. To post code snippets I use the SyntaxHighlighter plugin that is installed on that platform, and I'm very happy with it. Now, I'd like to use Windows Live Writer to write my articles, because it's much more convenient than the web-based editor. I found many WLW p...
Here is a WLW plugin that seems to do what you want, made specically for WordPress.com hosted blogs.
Best Live Writer plugins to post code snippets on WordPress?
wordpress
I'm looking to create a page within my site that looks like this: Tag/Category: News News Post a News Post b News Post c Tag/Category: Events Event a Event b Event c I'm new to Wordpress. I may not have the wordpress jargon to ask this correctly. Thanks for your help.
Your best bet is to create a page template with the following code. Also you will need to decide if you will use a tag or category. The code below assumes you are using a category. <code> &lt;div class="news"&gt; &lt;?php //The Query wp_query('showposts=5&amp;category_name=News'); //The Loop if ( have_posts() ) : while...
How to make 2 tag feeds show up on 1 page?
wordpress
I am using the new menu system of Wordpress, and here is the result of wp_nav_menu() <code> &lt;div class="menu-main-menu-container"&gt; &lt;ul id="menu-main-menu" class="menu"&gt; &lt;li id="menu-item-28" class="menu-item menu-item-type-post_type current-menu-item page_item page-item-21 current_page_item menu-item-28"...
The wrapping div is easy. When you use <code> wp_nav_menu() </code> , add this argument: <code> 'container' =&gt; false </code> For the <code> &lt;ul&gt; </code> element, there's an argument called <code> 'items_wrap' </code> . See stackexchange-url ("woodchucky's answer") for more info on that one (and upvote it!).
Remove wrapping div and ul from output of wp_nav_menu
wordpress
So i've installed a plug-in which allows me to enable two-factor authentication for my users. The problem is that to enable the plug-in i have to log in as that user and enable it via their profile page (wp-admin). This isn't a problem except for the fact that there's nothing stopping the users from logging in and disa...
You could make it a mu-plugin ('Must Use' plugin). Any PHP file you put into /wp-content/mu-plugins/ will automatically get included in WordPress. You can't deactivate the plugin (unless you have ftp access to the server). If you go with a mu-plugin, make sure to put the functionality into a subdirectory and bootstrap ...
Options for restricting access to wp-admin
wordpress
If I create a home.php file, it seems that WP will use that instead of index.php, so index.php is never used? What are the differences between these two template files (located in the theme folder)? Do they both behave the same way, the only difference being the priority of home.php?
<code> index.php </code> is universal template, it is what any page (home, archive, single post, etc) will use if no other template is available for it. <code> home.php </code> is a template used for main page (on <code> is_home() </code> ) condition. See Template Hierarchy for detailed scheme of how templates are appl...
What's the difference between home.php and index.php?
wordpress
Is there a plugin similar to the Google Sitemap plugin that works for a mutli-site install?
There is Google XML Sitemaps with Multisite support . You can also use the development version of the original Google XML Sitemaps . It seems to be working fine for some people.
Sitemap Plugin for WordPress Network
wordpress
Mark Jaquith's Subscribe to Comments plugin has been a staple of my WordPress site since shortly after I launched it. However, it's not really maintained any more (last updated end of 2007) and it lacks some options (email verification, etc.). infogurke extended Mark's plugin and released a different version with enhan...
Yes, it's possible (and quite easy) to migrate from Mark Jaquith's Subscribe to Comments plugin to Gurken Subscribe to Comments plugin. The steps: Install Gurken Subscribe to Comments (using either FTP or WordPress's plugin manager) Don't activate Gurken StC yet. First deactivate Mark Jaquith's version. Activating the ...
How to migrate from Mark Jaquith's Subscribe to Comments plugin to Gurken's new version?
wordpress
How can I make a list of links of all the taxonomy terms I'm using? For example, I have a taxonomy of Manufacturers with terms of Honda, Ford, etc. I want to list out those terms as links.
My apologies. After some more searching, I found that I could pass the taxonomy as an argument in wp_list_categories. Here is the info via Wordpress Codex.
List taxonomy terms as links
wordpress
I'd like to display a checkbox with the option to subscribe to the site by email I have seen a wordpress blog with the following label next to the said checkbox Subscribe by email to this site The problem is that i cannot see to find the plugin that displays it: i've tried Subscribe2 and Post Notification and Gurken fo...
There are often issues with setting up email subscriptions. Hosting providers are very tired of spam and often put harsh restrictions on email rate and volume, especially for cheaper hosting plans. In practice such feature is often implemented with help of external service. FeedBurner is popular for this, because a lot...
New post email alert
wordpress
Does wordpress.com support multiple languages at the same time? I know it does support changing the main language, but I can't find anything about how one would go about setting up multiple languages at the same time. Thanks.
No, wordpress.com does not support multilanguage blogs. The solution would be to make one blog per language and link them via the sidebar. Reference: Multi-language blog on wordpress.com
Blog in multiple languages on WordPress.com?
wordpress
Is there any plugin which can automatically combine all the javascript and css files that are used on a page? While I can combine them manually I would like to avoid them as some plugins add their scripts and css. Also different scripts might be needed on different pages so I do not want to have one large script on eve...
W3 Cache will do this for you
Combining multiple javascript and css files
wordpress
I have 3 different custom post types: 1.) <code> "events" </code> , 2.) <code> "winners" </code> and 3.) <code> "offers" </code> . How would I go about retrieving the first (latest) post in each of these post types on a single web page (i.e a home page). Would I use <code> get_posts() </code> or would I have to manipul...
Yes, get_posts is the safest way to use multiple loops. It does not mess up with the original query. Another way would be to create new WP_Query objects: <code> $my_query = new WP_Query($args); while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); </code> Note: stackexchange-url ("Why you should not use query_...
Show the First Post from Each of 3 Different Post Types on a Web Page?
wordpress
How do you register a sidebar in a plugin without screwing up the pre-existing registered sidebars? (The ordering of the sidebar registrations, rather than the assigned ID, determines the sidebar data.)
<code> function self_deprecating_sidebar_registration(){ register_sidebar( /* Your arguments here */ ); } add_action( 'wp_loaded', 'self_deprecating_sidebar_registration' ); </code> Most themes will register the sidebar in their functions file, which is included before <code> init </code> but after plugins are loaded. ...
How to register_sidebar() without messing up the order?
wordpress
I have my own private installation of Wordpress I've installed the wordpress.com stats plugin , so I get a stats feature like you get on the free wordpress blogs, its nice and simple, and works well Now on my blog, all I can see on the plugin (on my dashboard) is a login screen, and when I try to login it redirects me ...
The WordPress.com Stats plugin is broken as of this morning. It doesn't work on any of my sites and if you click this http://twitter.com/search/WordPress%20Stats You'll see lots of people are finding it borked this morning. You may have to wait a few days and try again once the issue is fixed.
WordPress.com Stats plugin is requiring login, and redirecting to WordPress.com on login
wordpress
I'm using the Contact Form 7 Calendar "plugin plugin", but I can't figure out how to make the date field required. The syntax is <code> [datetimepicker your-label] </code> , and in the parent plugin (Contact Form 7), you would just put an asterisk in, like <code> [datetimepicker* your-label] </code> but this doesn't wo...
Apparently the answer is to read the installation instructions properly the first time round. The syntax within a contact 7 form is: <code> [cf7cal inputname] </code> or <code> [cf7cal* inputname] </code>
Making a Contact Form 7 calendar entry "required"
wordpress
I'm writing a plugin that uses Ajax (jQuery with form plugin) via a form submission and the php function returns a JSON response. <code> add_action( 'wp_ajax_bubbly-upload', 'bubbly_upload_submit' ); function bubbly_upload_submit() { // generate the response $response = json_encode( array( 'success' =&gt; true ) ); // ...
Put the <code> die(); </code> in your function: <code> add_action( 'wp_ajax_bubbly-upload', 'bubbly_upload_submit' ); function bubbly_upload_submit() { // generate the response $response = json_encode( array( 'success' =&gt; true ) ); // response output header( "Content-Type: application/json" ); echo $response; die();...
Admin-ajax.php appending a status code to ajax response
wordpress
Use case: I have a custom post type of 'show' for a music venue. In the sidebar we want to display any related 'show' to the current one on single-show.php. They will be related by a custom taxonomy of 'genre'. I figured I could dump the custom taxonomy slugs for a post (might be more than one) into a variable then pas...
You can do something like the following: <code> $terms = get_the_terms( $post-&gt;id, 'genre' ); // get an array of all the terms as objects. $terms_slugs = array(); foreach( $terms as $term ) { $terms_slugs[] = $term-&gt;slug; // save the slugs in an array } </code>
Get the 'slug' of a custom taxonomy
wordpress
I've got a custom template page called <code> 'shop' </code> , which is found at the URL <code> http://mysite.com/shop/ </code> . This page lays out all the posts of post_type <code> 'product' </code> like this: <code> &lt;div class="product"&gt; &lt;a name="product-name"&gt;&lt;/a&gt; &lt;img src="path/to/image.jpg" /...
Dumb question, but had you tried: <code> &lt;a href="/shop/#product-name"&gt;Buy this product!&lt;/a&gt; </code>
How can I make internal anchor links work with WordPress's permalinks?
wordpress
I'm trying to use wp-load.php in a page outside of wordpress so I can access all the functions in wordpress. Typically I just include the file like this <code> require( $_SERVER['DOCUMENT_ROOT'].'/blog/wp-load.php' ); </code> But it doesn't seem to be working. Any tips on what can be going on? Thanks, Paul
Including wp-load.php will not setup the WordPress query. See Integrating WordPress with Your Website for the right way.
Problem with using wp-load.php outside of WordPress
wordpress
Does someone know of a simple plugin for showing RSS feeds? I need something dead simple that only show the links and would rather re-use something before rolling one myself.
There is a plugin for this, RSS Icon Widget . However it looks like it hasn't been tested on any version past 2.8. It looks fairly simple, so it could still work. Otherwise the easiest way to accomplish this is to just create a new text widget and write the HTML to display any icon you'd like and link it to your feed. ...
Simple plugin for showing RSS subscription links?
wordpress
I want to embed links to the archive pages with specific search criteria. i.e Links to specific categories, links to specific authors etc etc At the moment I am adding the links using anchor tags, but these will fail if the permalinks change
WordPress can generate these, so you can too. You would need to use the same function that WordPress does. For category it would be something like: <code> $category = get_category_by_slug( 'example' ); $link = get_category_link( $category-&gt;term_id ); </code> Similarly there is <code> get_tag_link() </code> and on de...
how do I encode links to specific archive searches?
wordpress
I have a recruitment website on which I want to display a list of Job Location links. The job location has already been entered into a custom field for each post so I just want to display a list of links that when clicked will show posts with only that custom value entered, ie - England Ireland USA etc.. Click a countr...
I would recommend using a custom taxonomy for this, not a custom field. You can sort and list archives based on a taxonomy far more easily than by custom fields. However, if you want to list based on the custom field, you're going to need to modify the arguments sent to <code> query_posts() </code> on your archive page...
Show links to archive pages based on custom field values
wordpress
I am new to wordpress. I have experience in css \ html \ js and asp.net (and also a bit of php now). I've added to my blog certain areas that are hard coded in html and css. In these areas I'd like to be able to set text based on the admin's input in the panel's page. I want a person who doesn't know html to be able to...
You have two solutions for this: Use Custom Fields This is a very comprehensive guide: The Power of WordPress Custom Fields . There are some very useful plugins like Custom Field Template and Magic Fields which use them. Use Widgets . The Widgets API allows you to easily build your own widgets.
Add custom text to Page Tamplate without need to know html
wordpress
If you use a premium theme service (my skills lie more in coding than artwork), what is a good way to show clients examples of what themes are available to them, without sending them to the theme service site in the first place (ie - without letting them see the original purchase price), but without having to purchase ...
One option would be to display screenshots of the theme in action. Many theme services allow you to view a "demo page" and see how the theme is presented - taking a screenshot of this page and passing it to your client is pretty much the same as presenting a stylized wireframe or stylistic mockup of the final design. I...
How can you showcase various premium themes to clients without having to pre-purchase the theme?
wordpress
I have a custom menu on a site with multiple languages (WPML plugin) The menu is not being displayed in any languages other than native. Can the menu be translated? Can the menu be shown in all languages without any change to the text? (when it's mostly names that shouldn't be translated)
Yes, the menu can be translated, and, yes, it will be shown in all languages. Does your menu use the WordPress 3 menu feature? If yes, the video here explains how to setup the translation: http://wpml.org/2010/07/wpml-1-8-0-with-multilingual-menus/
menu doesn't show in different languages
wordpress
I realize there have been a few questions which dance around the solution I am after but I believe I am looking for something specific. This is actually a two part question: 1) My goal is to have wordpress operate in network (multi-site) mode and I am trying to figure out a way to essentially "group" specific sites tog...
I know you said you'd rather not install a plug-in, but that's exactly what you want to do in this situation. Placing the code in your theme's <code> functions.php </code> file requires you to either use the same theme across all sites in the sub-network or maintain multiple copies of the same file. On the other hand, ...
Querying posts from multiple sites in a network?
wordpress
I have a variable containing some post ID´s. I´d like to output the posts in that variable using the standard wordpress loop. How can I do that? Thanks! Added: <code> &lt;?php /* Template Name: Favorites page */ $favorites = wpfp_get_users_favorites($user = ''); $favorites_query = new WP_Query('post__in' =&gt; $favorit...
An example: <code> $posts_ids = array(2,56,87,23,5); // this is an array of posts IDs &lt;?php $my_query = new WP_Query(array('post__in'=&gt;$posts_ids)); ?&gt; &lt;?php while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt; &lt;!-- Do stuff... --&gt; &lt;?php endwhile; ?&gt; </code>
Outputting posts from post id´s in variable
wordpress
I'm looking for a way to generate a sitemap for display on my site that includes my custom posts. I'm not looking for an xml sitemap generator for search engines -- that is sorted using Google XML Sitemaps and Get Up and Running's patch for that plugin. I'm specifically looking for something to display to users. Normal...
Smart Archives Reloaded plugin should work with custom post types (it accepts query_posts/get_posts arguments so quite flexible).
How to generate a sitemap with custom posts (not Google XML)
wordpress
I want to add both custom html that advanced text widgets can't support and the standard sidebar widgets in the same sidebar. However, when I put a sidebar widget into the theme, it removes all the custom html and just displays the widgets in the sidebar. It shouldn't be a tough fix, but I am pretty big php noob who le...
I suppose you are doing something like this: <code> &lt;?php if ( ! dynamic_sidebar( 'widget-area' ) ) : ?&gt; Your sidebar code goes here. &lt;?php endif; ?&gt; </code> If yes, do this instead: <code> Your sidebar code goes here. &lt;?php dynamic_sidebar( 'widget-area' ); ?&gt; </code>
Adding custom html and standard widgets to sidebar
wordpress
I'm trying to add a custom taxonomy. using the following code: <code> function cities_custom_taxonomies() { register_taxonomy( 'city', // internal name = machine-readable taxonomy name 'post', // object type = post, page, link, or custom post-type array( 'hierarchical' =&gt; false, // true for hierarchical like cats, f...
You can just wrap the english label name with the translation function <code> __( 'City', 'textdomain' ) </code> , and put the hebrew version in your translation file. Reference: http://codex.wordpress.org/I18n_for_WordPress_Developers
custom taxonomies label in hebrew
wordpress
Or to make it easier: you just want to disable the caching in order to see your changes in realtime. Any solution that would allow you to disable caching based on IP, logged user or cookie will be acceptable.
It has this natively: Performance > Page Cache > General > Don't cache pages for logged in users You can always check if you are seeing cached page by looking at page source, W3 outputs status (commented out) at end of page.
How can you develop on a live WordPress installation that is using W3 Total Cache?
wordpress
I'm testing out a shared hosting package with Dreamhost at the moment which is only $2.95 a month for unlimited domains, storage space, bandwidth, mysql databases etc. But I'm currently only running one test site on it and it seems pretty slow. Am I going to run into problems if I host lots of sites on a shared hosting...
We've migrated a lot of people from Dreamhost after their site gets mildly popular, and they notice it's either down or slow. But, we don't offer hosting plans that are as cheap as them as well. I would recommend you check out zippykid.com (our site), page.ly , or wpengine.com if you're interested WordPress hosting tha...
WordPress hosting - Shared/dedicated server? Any recommendations?
wordpress
What caching plugin configuration do you recommend and why under the following assumptions: full control of the server configuration running WordPress in multi-site/multi-domain mode most domains are not using <code> www. </code> prefix (cookies) (desire) to be able to disable caching for specific IPs or based on a coo...
Basic answer to "what plugin" would probably be W3 Total Cache. It is one of the most functional and actively developed plugins at moment. However complete performance chain is much longer that WordPress plugin alone can handle. Web server (Apache or something else) configuration (response time, time to first byte, hea...
What is the best caching option for WordPress multi-site on non-shared hosting?
wordpress
I'm trying to build a featured posts with a "tabbed" interface in my homepage. I'm using the "sticky" option of the posts in order to get them out of the main loop and in the "featured tabs". No problem here. The problem is I can't control the stickies order. Is there a way to set the order of sticky posts? A plugin, c...
It sounds like you want to use the 'sticky' functionality as a replacement for a tag or a category. Why not just put all the posts you want in a 'tab' category, then call your query for that category. You can use orderby in fancy ways (such as by post_meta($tab = get_posts('category=tab&amp;orderby=date');
featured posts order
wordpress
I am very new to using WordPress and I was wondering what the benefits of using widgets is? Looking here it sounds like they are for people who are not programmers that want to add plugins to their site. Is that correct? or do widgets allow the site to be more robust in some way?
I battled with this very same question. I'm presently developing my own ability to develop WordPress sites. My employer is launching numerous websites on the engine, and is moving me from general PHP work to focused WordPress development. The thing is, these sites will all be managed by other people, and not myself. Us...
Why use widgets?
wordpress
I switched to another theme and decided to make a widget of some default code I had in there which shows my delicious posts, twitter posts, su posts and youtube vids in a custom loop (excluding these categories from the main loop). But now...the paging no longer works. I have made this widget: <code> // ===============...
Try doing <code> global $paged </code> before using the variable in the widget function.
Paging in a sidebar mini loop
wordpress
I have a wordpress site and want to create a different theme for mobile. I'd like to create a subdomain such as m.domain.com which will use a mobile optimized theme much different than the desktop version theme. I understand multisite will handle the subdomain problem but I want all the content, custom posts, plugins, ...
try to read this useful article: http://digwp.com/2009/12/redirect-mobile-users-to-mobile-theme/
Create mobile site with same content just different theme
wordpress
This question is related to this question: stackexchange-url ("stackexchange-url When developing a website with custom functionality for a client, particularly a site that will expect lots of traffic, what is better from a performance perspective. To build the functionality into the theme itself or to build it into a p...
You're not going to get a noticeable difference doing it one way over another. Slowness comes from what the code is doing. If you're worried about performance, just make sure you're caching external requests whenever you can, that includes calls to the database.
For performance is it better to build custom functionality into the theme or a plugin
wordpress
I'm trying to edit a plugin so that it only shows it's submenu if the user is an administrator but I don't know how to define the value of the variable before the function: <code> function load_view( $name, $params = array(), $print_submenu_navigation = false ) { </code> My code so far is: <code> if (current_user_can('...
Wrong approach. <code> $print_submenu_navigation </code> will be filled in local scope when function is called with arguments, it's not a matter of global variables. You want something like this when function is called (not defined): <code> load_view( 'name', array(), current_user_can('administrator') ) { </code> Alter...
Defining the value of a variable before a function?
wordpress
I'm trying to include the post title in a custom post type edit screen. For example if the post is called Biography, I want the edit page title to be 'Edit Biography'. I'm using the below code: <code> function my_post_register() { $mypagetitle = $post-&gt;post_title; $labels = array( 'edit_item' =&gt; __('Edit '.$mypag...
This will do it: <code> function edit_screen_title() { global $post, $title, $action, $current_screen; if( isset( $current_screen-&gt;post_type ) &amp;&amp; $current_screen-&gt;post_type == 'post' &amp;&amp; $action == 'edit' ) $title = 'Edit ' . $post-&gt;post_title; } add_action( 'admin_head', 'edit_screen_title' ); ...
Displaying Post Title on Post Edit page?
wordpress
I've decided, that some second level pages I have, should really be blog articles. I want to copy and paste the title and body to an article and then delete the page (is there a better way of doing this?). Now I'm worrying about already existing links to the pages. I don't want them to break ... can I somehow enter the...
Use the Vice Versa plugin to change the post type. Redirect the URL per .htaccess: <code> Redirect permanent /old-url /new-url </code>
Migrating a page to be an article
wordpress
Okay, I'm starting out with some AJAX stuff in a wordpress theme 1) I'm building a child theme OFF the thematic framework 2) My child theme has a header.php, index.php, functions.php and style.css (at this stage) In my header.php I have the following (btw: the code is adapted from http://codex.wordpress.org/AJAX_in_Plu...
Put those <code> add_action </code> functions in your <code> functions.php </code> file too. If they're in <code> header.php </code> , WordPress never registers them since header isn't loaded in AJAX. Also, you don't need that <code> is_admin() </code> check. The theme's header will never load in admin. So, your functi...
How to get Ajax into a theme - without writing a plugin?
wordpress
I've been looking into the feasibility of using something like Amazon Web Services for hosting WordPress sites. I was wondering if it was possible and if so what are people's experiences of having done so and what aspects of AWS did you use?
You explicitly mention three services in your question title: EC2, RDS and EBS. If they're the three services you're interested in, then yes, very easily. EC2 + EBS are pretty much the same thing, EBS is simply a persistent storage extension to EC2, and RDS is a full MySQL database - you should be able to get those thr...
Can you host WordPress using Amazon Web Services such as EC2, RDS, EBS etc?
wordpress
How much should I charge for creating a custom WordPress plugin? (working as a freelancer)
The short version: Figure out how much it costs you to eat, go to movies, pay utilities, pay taxes, etc., each month . Divide that by the number of working hours in a month. Congratulations, that's your minimum hourly rate. Get the specs in writing, as detailed as possible. Then figure out how long it will take you to ...
How much should I charge for creating a WordPress plugin?
wordpress
I'd like to add some descriptive text underneath the page title on both the list and edit post screens for the default post and also custom post types - e.g. "Below is a list of your recent blog posts." What's the best way to do this?
If you are OK with using javascript, you can try the following in your <code> functions.php </code> file: <code> add_action('admin_footer', 'my_admin_footer'); function my_admin_footer() { $uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : NULL ; $message = NULL; if ($uri AND strpos($uri,'edit.php')) { i...
Add text to post list/edit screens?
wordpress
I visit http://ltty.wordpress.com/ and want to know the theme name (so that I can use :) for my blog). How can I get it?
This method isn't always fireproof, but you can often look at the source code (right click on white space in the blog), and look for the word "themes." For instance, in the case of ltty.wordpress.com, this line appears: <code> &lt;link rel="stylesheet" href="http://s2.wp.com/wp-content/themes/pub/inove/style.css?m=1285...
How to know the theme name of a wordpress blog?
wordpress
I would like to change the markup created by [gallery] from what is it as standard (dl) to a unordered-list with a difference. Below is the desired markup: <code> &lt;ul&gt; &lt;li&gt;&lt;a href="/path/to/image.jpg"&gt;&lt;img src="/path/to/image.jpg" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="/path/to/image2.jpg...
Thanks for your replies, Jan &amp; Rarst. They pointed me in the right direction. Here's what I ended up with. This disables shortcodes in the content. Perfect for this site &amp; the function gets attached images &amp; spits them out as a list. (I found the function somewhere &amp; slimmed it down a little) <code> // ...
How can I alter the [gallery] markup?
wordpress
I am building a site in WordPress. It has multiple subpages, many of which require different sidebars. So, I have a widgetized theme and I have also created a few sidebar widgets. I have written a conditional statement to show different sidebars on different pages. However, one widgetized sidebar displays on almost all...
More easy &amp; elegant (higher maintainability): <code> &lt;?php // Your sidebar should have the wp_meta action hook wp_meta(); // in ex. your functions.php function my_sidebar_content() { // "About" Page if ( is_page('about') ) { // If some widget is added via Admin &gt; Design &gt; Widgets if ( is_active_sidebar( 'w...
Dynamic Sidebars On Multiple Subpages
wordpress
I am looking for a way to remove all the unessesary text from default worpdress metaboxes. Preferably I would like to ensure that the content is not just hidden through CSS but actually removed from the HTML so it does not even show up in the source. The areas I am interested in removing include: The HELP button on the...
Hi @NetConstructor : Here's an answer to question #1. Not enough time right now to do the rest. 1.) Removing Admin Help Link Button Unfortunately WordPress doesn't provide a hook to let you affect the Help Button on the top right of the admin, but you can use a somewhat dirty hack to achieve what you are trying to acco...
Removing Unnecessary Text from Admin Menu without CSS
wordpress
I have a function that returns an array os posts ids. At the moment, everytime i have a query i have to to this: $ids = agendados(); query_posts(array('post__not_in' => $ids ); Is there a way to maintain the array by calling that on header.php and use this array everytime a do a query_posts? I think that doing on my wa...
I don't like using categories for this, as they are supposed to be semantic terms. I do, however, like the idea of the global array. Instead of creating a new query directly, I will filter it through a function that will add the results to a global array and return the results: I add this to functions.php: <code> funct...
Always using the same ARRAY on different querys
wordpress
I'm not sure if I'm blind here, but short of digging directly into the database tables, where would I find the database id for a post or a page?
IDs always show in links in admin area, like /wp-admin/post.php?post= 2164 &amp;action=edit There are also some plugins that simplify this, quick search came up with Simply Show IDs .
Finding the page id
wordpress
For the life of me I cannot seem to get categories to come into existence with my custom post type. I've added the following &mdash; simple &mdash; code to the bottom of my theme's <code> functions.php </code> file, yet see no categories in my custom post from the admin side. <code> register_post_type("customy", array(...
It appears that although <code> register_post_type() </code> will add the new <code> post_type </code> immediately, it seems as though you need to bind up the logic into a function, and add it to the <code> init </code> action for the categories taxonomy to be associated with the <code> post_type </code> . A working ex...
Custom Post Types and Categories?
wordpress
On creation of a custom post type I'm trying to define capabilities but it's not working. What's wrong with this code? <code> $args = array( 'labels' =&gt; $labels, 'public' =&gt; true, 'publicly_queryable' =&gt; true, 'show_ui' =&gt; true, 'query_var' =&gt; true, 'rewrite' =&gt; true, 'hierarchical' =&gt; false, 'menu...
You code seems to be correct. Try the following instead. <code> $args = array( 'labels' =&gt; $labels, 'public' =&gt; true, 'publicly_queryable' =&gt; true, 'show_ui' =&gt; true, 'query_var' =&gt; true, 'rewrite' =&gt; true, 'hierarchical' =&gt; false, 'menu_position' =&gt; null, 'supports' =&gt; array('title'), 'capab...
Defining capabilities for custom post type
wordpress
I'm looking for a plugin that enables sharing an article on sites like Facebook, Twitter and LinkeIn. One catch is that I want a plugin that respect the privacy of the user and doesn't include trackware/spyware on the page. Can anyone recommend a good plugin for this? Thank you!
Sociable adds sharing links for any social network sites you want (configurable). To my knowledge, it doesn't add any trackware on the page (I have yet to see an officially hosted plugin do that).
Plugin for sharing on social sites?
wordpress
I'm able to easily include my custom post types into my main loop by making small adjustments with <code> query_posts() </code> , but I'm not sure how I would go about including custom post types in the "Recent Posts" sidebar widget (or any of the other widgets, for that matter). How should I go about expanding "Recent...
You'll have to edit the code for the Recent Posts widget or create your own version based on the default. The code is in the <code> wp-includes/default-widgets.php </code> file around line 513. But since you should never make modifications to core, my recommendation would be to copy the code to create your own My Custo...
Including Custom Post Types in "Recent Posts" Widget
wordpress
I need to create a simple widget that has a text input field. I need the widget to create the markup below... <code> &lt;div class="textwidget"&gt; &lt;div class="avatar"&gt; &lt;div class="avatartext"&gt; &lt;p&gt;CONTENTS OF THE TEXT INPUT HERE&lt;/p&gt; &lt;/div&gt; &lt;div class="avatarimage"&gt;&lt;/div&gt; &lt;/d...
Complete code: <code> class My_Widget_Avatar extends WP_Widget { function My_Widget_Avatar() { $widget_ops = array( 'classname' =&gt; 'widget_avatar', 'description' =&gt; __( "My Avatar Widget" ) ); $this-&gt;WP_Widget('my_avatar', __('My Avatar'), $widget_ops); } function widget( $args, $instance ) { extract($args); $...
Create a widget that allows text input
wordpress
WordPress.com has a rather cool feature when you add comments. The two features are: <code> [x] Notify me of follow-up comments via email. [x] Notify me of new posts via email. </code> Is this plugin available somewhere so that I can include it on my privately hosted blog?
http://wordpress.org/extend/plugins/gurken-subscribe-to-comments/ http://wordpress.org/extend/plugins/subscribe2/
Plugin from WordPress.com for comment notification...available?
wordpress
I've tried both Yoast Breadcrumbs and Breadcrumbs NavXT and I can't seem to get either to work with custom post types. Anyone had any luck with this? A single 'News' post on my site displays: Home -> Blog -> My News Post Instead of correctly displaying: Home -> News -> My News Post
Breadcrumb NavXT has Custom Post Type support since 3.6.0. You might encounter some options problem. Please try to reset them or take a look on the development version. Backup your settings first with the export / import settings feature.
Breadcrumbs with Custom Post Types?
wordpress
I am new to wordpress. I am trying to build a custon website based on it. I know some php and quite good html \ css \ js. I wanted to know if it's possible to set a uinque theme for different pages? Thank you!
Yes, it is possible with page templates. See - Codex : Page Templates Codex : Creating Your Own Page Templates
How to set a unique WordPress theme for different pages?
wordpress
How can I change the page that the 'view' action links to on the list post screen for a custom post type? Update I've got it to work with normal post types using the below code but where do I define the custom post type? <code> function change_link($post_url,$post) { return '/video?id='.$post-&gt;ID; } add_filter('post...
By adding a filter to the <code> 'post_link' </code> hook . See the <code> get_permalink() </code> function for more info. For custom post types, you can use the <code> 'post_type_link' </code> hook . It's a lot easier if you follow the source code (this is for v3.0): http://core.trac.wordpress.org/browser/branches/3.0...
Changing 'view' link for custom post type on list post screen?
wordpress
For one of my custom post types I want a specific user to be able to edit existing posts created by admin but not be able to Add New posts. How can this be done? If I define the user role as not being able to Publish it still allows them to add a new post and submit for review.
You will have to do something like this: <code> function hide_buttons() { global $current_screen; if($current_screen-&gt;id == 'edit-post' &amp;&amp; !current_user_can('publish_posts')) { echo '&lt;style&gt;.add-new-h2{display: none;}&lt;/style&gt;'; } } add_action('admin_head','hide_buttons'); </code> See: http://eris...
Allow user to Edit Posts but not Add New?
wordpress
I have a custom post type ('post' capabilities) called EVENTS and a custom taxonomy called VENUES (hierarchical). I want to be able to set the post's url to domain.com/my-events/%TAXONOMY%/%POST-TYPE% kind of like category/post-name, but it doesn't seem to work, the URL always render the %TAXONOMY% bit as is leaving th...
My plugin will be adding this functionality in the next release (in beta now). If you want, you can download the beta at http://www.johnpbloch.com/custom-post-permalinks.zip There are still known bugs in that beta version, though. I don't have the time to give you a proper answer on here at the moment (it's a pretty co...
rewrite rules for custom post-type with a custom taxonomy
wordpress
How do you know when to add your action to init or wp_head. In particular with regards to scripts and styles, but also any other action.
From Codex Action Reference: <code> init </code> Runs after WordPress has finished loading but before any headers are sent. Useful for intercepting $_GET or $_POST triggers. <code> wp_head </code> Runs when the template calls the wp_head function. This hook is generally placed near the top of a page template between &l...
when should an action be added to init and when should it be added to wp_head
wordpress
I've created a custom post type called <code> video </code> and I'm using a plugin called <code> Playlist_Order </code> (which changes the <code> menu_order </code> field) to allow the user to use a drag and drop interface to order their videos in a playlist. However, when adding a new post the video appears at the top...
Hi @fxfuture : I think what you are looking for is the <code> wp_insert_post_data </code> hook. You can add this code to the bottom of your theme's <code> functions.php </code> file and/or you can add it to a plugin: <code> add_filter('wp_insert_post_data','my_wp_insert_post_data',10,2); function my_wp_insert_post_data...
Define menu_order on Creation of New Custom Post?
wordpress
I am trying to speed up a wordpress site by condensing three wp_queries into one. I have a need to seperate categories, so I am making the call and defining 3 arrays to hold the post using a switch, like so: <code> $new_query = new WP_Query(); $new_query-&gt;query('post_type=post&amp;paged='.$paged); if ( $new_query-&g...
I think <code> setup_postdata($post) </code> (internal) function does that. I failed to find proper documentation for it in Codex (typical), but there are examples with it here and there like in Displaying Posts Using a Custom Select Query . This test snippet seems to work fine for example code you have in question: <c...
Is there a way to define the $post var outside the loop?
wordpress
I have defined a custom post type that uses a meta field to store dates. In my functions.php I have the following code which saves the start date. The format of the date that is sent in the <code> startdate </code> form parameter is <code> 2010/12/01 9:00 AM </code> <code> add_action('save_post', 'save_details'); funct...
You store date as formatted string, but <code> time() </code> function you take for comparison returns numeric timestamp. So you are trying to make comparison between too completely different formats and it's unlikely WP is smart enough to get that.
How to use query_posts() with a date filter on a custom field?
wordpress
Assuming you have a shared hosting account that enables multiple MySQL databases and multiple domain pointers. How many standard WP-installed websites can it hold without problem? (let's say each website gets around 1000-2000 visitors a day) If this depends on who is the hosting provider, please refer to whom is the on...
Number of installs is not determined by WordPress, it is determined purely by hosting resources and policies. From personal experience even one blog with 1k daily visits can border overusing CPU quotas on crappy shared hosting with overstuffed server. If you want to force this through - request specific resource usage ...
How many WP websites can go on one shared hosting account?
wordpress
By looking at the source of any of the WordPress pages on my site, I can see there is this stylesheet link: <code> &lt;link rel='stylesheet' id='adoptStyles-css' href='http://mydomain.com/wp-content/plugins//adopt_styles.css?ver=2.9.1' type='text/css' media='all' /&gt; </code> The link is broken - the URL is not served...
File with this name comes up in search as part of Adsense Optimizer plugin ( SVN ). Curiously I don't see stylesheet actually being queued in code... Are you using this plugin? Up to date version?
Why is adoptStyles-css stylesheet link added to every page?
wordpress
I have two custom post meta objects that have been applied to all pages and posts in my sites. The names are MyCustomHeader and MyCustomTitle and I have one of these assigned to each post and page in my site. I've just decided to change the names of these two meta objects so that they do not appear in the Custom Fields...
You can run the following sql queries: <code> update wp_postmeta set meta_key=replace(meta_key,'MyCustomHeader','_MyCustomHeader') where meta_key like "MyCustomHeader"; update wp_postmeta set meta_key=replace(meta_key,'MyCustomTitle','_MyCustomTitle') where meta_key like "MyCustomTitle"; </code>
Routine to convert custom post meta from old to new value
wordpress
How would I display html code in only the first level of threaded comments? Example L1 Comment ----L2 Comment --------L3 Comment L1 Comment I have a piece of html code that contains basically reads "Reply to (author name) or post a new comment" and only need it displayed on L1 comments.
You can do this in the comments loop: <code> if( empty( $comment-&gt;comment_parent ) ) { //if the comment does not have a parent, then it is L1 echo 'my-custom-html'; } </code>
How to display html in only the first level of WP comments?
wordpress
What's the difference between marking a comment as spam and trashing it?
In vanilla WordPress the only difference is that trashed comments get deleted automatically after (customizable) time span . Adding plugins to the picture - it might make difference to what/how specific plugin learns from incoming spam.
Comment Spammed vs Trashed
wordpress
When I navigate to... Appearance > Editor > Edit Themes The default file that gets loaded there is my options.css file (which I don't want anyone editing since it styles my theme options panel, not the theme itself.) How can I specify which file gets loaded there? Ideally, I'd like for my theme's current stylesheet to ...
Looking at <code> theme-editor.php </code> code it calls <code> get_themes() </code> (fills global <code> $wp_themes </code> variable with themes, including full lists of theme files) and then simply picks first file out of files from current theme. It jumps to CSS because PHP and CSS files are stored separately and wh...
How can I tell WP which file to load by default in Appearance > Editor?
wordpress
The code below is contained in a plugin file. It just seeks to execute an update query against the wp database. However, its generating a fatal error. <code> Fatal error: Cannot redeclare ce3_cleanup() </code> Do I need to load a config file to get acess to $wpdb-> query? <code> function ce3_cleanup() { $wpdb-&gt;query...
The recommended way to write that function would be: <code> function ce3_cleanup() { global $wpdb; $wpdb-&gt;query( "update $wpdb-&gt;postmeta set meta_key=replace(meta_key,'cb2_customHeader','_cb2_customHeader') where meta_key like 'cb2_customHeader'" ); $wpdb-&gt;query( "update $wpdb-&gt;postmeta set meta_key=replace...
"Plugin could not be activated because it triggered a fatal error."
wordpress
Most of my WordPress sites to date have been blog content, along with a 1 or 2 level page hierarchy. I'm now looking at developing a site with the customer site map suggests that a hierarchy of 4 levels of page content is required. In terms of WordPress the hierarchy is easy to create, but I'm looking at the ways of pr...
menu with non dynamic content if the menu structure is fixed then you can create a fixed menu using the "new" wp menu system (quadrillion weblog postings on that) menu with dynamic content if the menu structure is not fixed you can: a. ask the users to manually maintain the menu after e.g. adding a new category b. try ...
Multi-level page hierarchy
wordpress
I needed a way to filter a page/posts content before it was loaded so I could add scripts to the header if a specific shortcode was present. After much searching I came across this on http://wpengineer.com <code> function has_my_shortcode($posts) { if ( empty($posts) ) return $posts; $found = false; foreach ($posts as ...
You can use the function is_active_widget . E.g.: <code> function check_widget() { if( is_active_widget( '', '', 'search' ) ) { // check if search widget is used wp_enqueue_script('my-script'); } } add_action( 'init', 'check_widget' ); </code> To load the script in the page where the widget is loaded only, you will hav...
Loading scripts only if a particular shortcode or widget is present
wordpress
At some point, I started getting a message about 311 characters of unexpected output at every plugin activation. The number is always the same, and it happens for every plugin activation, including reactivating plugins that were temporarily deactivated. The exact message: The plugin generated 311 characters of unexpect...
Basically it goes like this (relevant steps only): <code> plugins.php </code> page calls <code> activate_plugin() </code> function. Function starts output buffering. Includes plugin file. Fires <code> activate_plugin </code> action. Fires <code> 'activate_' . trim( $plugin ) </code> action. Fires <code> activated_plugi...
All new plugins generating 311 chars of unexpected output?
wordpress
Looking for a breadcrumb menu that can be called (preferably from a sidebar widget in header.php) that lists... Home > Parent Post/Page > Current Page/Post or alternately... Home > Parent Category > Current Page/Post or even Home > Grand Parent Category > Parent Category > Current Page/Post
Breadcrumb NavXT will let you do that, it has a built in widget and supports just about everything WordPress can do (breadcrumbs spanning multiple sites in a multi site setup does not work, yet).
WordPress built in breadcrumb trail menu?
wordpress
The script below creates a listing of the categories in the site (excluding those in "uncategorized"). If possible, I'd like to modify it so that it only lists the top level categories (no child categories)... <code> $cat_args = array('orderby' =&gt; 'name', 'show_count' =&gt; $c, 'hierarchical' =&gt; $h); $cat_args['t...
After some trial and error, this is what it took to make it work... <code> $cat_args = array('orderby' =&gt; 'count'); $cat_args['title_li'] = ''; $cat_args['exclude_tree'] = 1; $cat_args['exclude'] = 1; $cat_args['depth'] = 1; wp_list_categories(apply_filters('widget_categories_args', $cat_args)); </code>
List categories and exclude child categories
wordpress
I was surprised to learn that custom taxonomies aren't added as body or post classes like categories and tags are. I'm sure this will be added in a future version of WordPress, but in the meantime I need to add a custom taxonomy to the post class so that I can style post in a certain category in that taxonomy different...
I found a snippet of code courtesy of mfields that solved this problem for me, here's what I ended up using: <code> &lt;?php // Add custom taxonomies to the post class add_filter( 'post_class', 'custom_taxonomy_post_class', 10, 3 ); if( !function_exists( 'custom_taxonomy_post_class' ) ) { function custom_taxonomy_post_...
Add post classes for custom taxonomies to custom post type?
wordpress
This idea is just to protect certain sections of my theme from over-zealous clients. I would like to add pages, that exist in the front end and can be added to the menu (using wordpress 3.0 api) but the page NOT be present in the 'Pages' dialogue in the admin panel, and is thus not user editable.
You can hook into template_redirect like this: <code> function custom_template_redirect() { global $wp; if ($wp-&gt;query_vars['pagename'] == 'my-page-slug') { // check the page slug status_header(200); // a 404 code will not be returned in the HTTP headers if the page does not exists include(TEMPLATEPATH . "/test.php"...
Can you call a template file without assigning template to a page in the admin panel?
wordpress
I would like to add some features (via authoring a plugin) to the post editor in wordpress. Is there a way to add a widget to the post editor view? Alternatively is there an existing plugin someone can point me too, that does this so I can see how they do it.
"Widgets" as you're calling them on the post edit screen are actually meta boxes. You can add as many as you want to do whatever you want using the <code> add_meta_box() </code> function. Once you know what they're called, it's fairly straight-forward to do a Google search for examples. Or check out some great tutorial...
How to add a widget to the post editing view?
wordpress
Using query_posts, how can I order the list of posts so the ones with the most recent comments are at the top? I'm looking for something similar to how Questions here on SE are ordered when you sort by "Active."
I wouldn't use <code> query_posts() </code> . That particular function is meant for making changes to a specific query ... and it's limited enough that you can't get the kind of custom functionality you need out of it. Rather, I'd use a custom query. What you'll want to do is query approved comments sorted by their pos...
Create a Loop with Posts Ordered by Most Recent Comments
wordpress
Is there any tool online that can quickly populate a WordPress3 database with faux information to assist in theme development? Perhaps creating 8 categories, inserting a dozen or so posts into each, adding a thumbnail for each, etc.
Just today read Dummy Content Filler Resources post that has several sets of data and plugins for WordPress listed.
WP Northwind for Theme Development?
wordpress
I'm using query_posts to sort order certain categories. My code look like this: <code> query_posts('category_name=abs&amp;orderby=meta_value_num&amp;meta_key=field_ordering&amp;order=DESC'); </code> This does show post in exact sorting model as I specify. However, query above doesn't display that post doesn't have <cod...
Well, you can't sort by field that isn't there. You can modify query conditionally only in those categories which have that field and let default query work in rest. It would be something like: <code> if( is_category('abs') ) query_posts( array_merge( array('orderby' =&gt; 'meta_value', 'meta_key' =&gt; 'field_order', ...
Custom query with query_posts doesn't show post without certain meta_key
wordpress
( Moderators note : Was originally titled "How to get_posts of a custom post type that is in two custom taxonomies?" ) I have a custom post type that has two taxonomies which are separate, one called "Project Type" and one called "Package" . I need to get a list of projects which are of "Project Type" <code> A </code> ...
As of v1.3, the Query Multiple Taxonomies plugin works great with WP_Query. Your original args work as is. <code> $args = array( 'post_type' =&gt; 'portfolio', 'numberposts' =&gt; -1, 'project_type' =&gt; 'A', 'package' =&gt; 'A' ); </code> Then make a new query and check it: <code> $foo = new WP_Query($args); var_dump...
Getting the Intersection of Two Custom Taxonomy Terms for a Custom Post Type?
wordpress
What's the best way to completely customize the Edit Post admin screen for a specific custom post type? I have customized it to an extent already on creation of the custom post type - adding additional fields etc, but I want to remove many of the elements such like permalinks, preview post, disable quick editing etc
Some of these questions are answered here: stackexchange-url ("stackexchange-url To remove the permalink metabox: <code> function my_remove_meta_boxes() { remove_meta_box('slugdiv', 'my-post-type', 'core'); } add_action( 'admin_menu', 'my_remove_meta_boxes' ); </code> additionaly, you will have to hide #edit-slug-box w...
Customize Edit Post screen for Custom Post Types?
wordpress
Is it possible to control the size of the window that is opened with <code> comments_popup_link() </code> ?
According to docs it is set by function that sets up script for this functionality: <code> comments_popup_script(width, height, 'file'); </code>
How to control size of comments popup window?
wordpress
This is partly a follow up to my earlier question: stackexchange-url ("How can I make a site viewable in multiple languages?"). It turns out the client wants to have the content manually translated, rather than using something like Google's translation tools. With that in mind, my first thought is to use a multisite in...
no you can use a single instalation of your WordPress and use this plugin WPML for setup your multilangual site. Keep multiple installations for any language is not a good idea.
Should I use a multisite installation to achieve a multi-language site?
wordpress
I recently stumbled upon this blog on " Using IIRF URL Rewriting on IIS6 with WordPress" ( http://john-sheehan.com/blog/using-iirf-url-rewriting-on-iis6-with-wordpress/ ) by John Sheehan as I installed a WordPress site I developed on my Mac OS X running MAMP and then ported the site to a MS IIS6 Windows 2003 Server env...
Documentation on Using Permalinks suggest this post for setting them up on IIS 6 .
WordPress 3.0.1 on IIS 6 Web Server PermaLink Issues
wordpress
I am currently using on my blog the default comment system with in addition only the "Quote Comments" plugin. I have seen IntenseDebate and it seems it has many interesting features that probably (and hope) will push the visitors to leave more comments. The pros are clear but do you see any drawbacks that should I take...
There's an excellent post here which, while it might not be completely balanced (it sets out from the start that it is against external commenting systems), it offers a good view of the cons of such systems. A quick summary of three main points (a mixture of my personal opinions and from the blog post): Comments are st...
Are there any drawbacks to install IntenseDebate on my blog?
wordpress
I'm using a child of the <code> twentyten </code> default theme and I want to hide the sidebar on some pages. What is the solution for that?
Actually, Twentyten has a no-sidebar page template already. Modify the template option in the page edit screen: And viola:
How can I hide the sidebar on specific pages?
wordpress
is it possible to create a subcategory.php and use it to manage subcats. or is there a way to get around this. if it is not possible.. is there something like this <code> &lt;?php if(is_subcategory() || child() ) { //do stuff } else { // do else } ?&gt; </code>
I don't think it is possible to create a subcategory.php, but you can do the following in your category.php: <code> $category = get_category( get_query_var( 'cat' ) ); if( !empty( $category-&gt;parent ) ) { // the category has a parent, so it is a subcategory // do stuff } else { // do else } </code>
want to create a subcategory.php to manage subcats
wordpress
When I use the bookmarklet button to test bookmarking . Only some URLs might able to display the post page.For other URLs it is just showing an error: <code> 404. The requested page was not found. </code> I have deactivated all the plugins .But problem not solved .I have changed the theme though . Do any body have Idea...
Problem resolved by my web-host's executives .They said that they had to white list a code on their servers .
Problem using Press-this book marklet
wordpress
My dashboard( It is multisite Installation ) section for pages and posts conflicts with options when there are morethan 5 data fields . For example : I have these things under my Posts section in dashbpard : Title Author Categories Tags Comments Date Forum-Linked Featured Because of these many fields these options conf...
Columns can be hidden from view using the screen options tab. On the upper right hand side of the dashboard click screen options Un check any of the columns you want to hide. Normally the edit options are displayed as horizontal text. A plugin or other function has changed this.
Conflicting post edit options under dashboard
wordpress