The codex tag has no wiki summary.
0
votes
1answer
52 views
Do I need to include a textdomain if my theme doesn't support translation?
According to the codex
Themes are required to use theme-slug (or a reasonable facsimile) as textdomain for translation
Does this mean that my theme needs to include a textdomain even if my ...
0
votes
2answers
112 views
How to copy an existing (custom themed) site to a new domain
I'm trying to find a way of duplicating an existing Wordpress site that uses a custom theme to a new domain.
Once it's there I'll do a redesign of the site and redirect the old url to the new one.
...
0
votes
1answer
61 views
How can i list current author's categories?
My Code getting authors written post categories but just 2 ID has author lists category.. I replace $current_user->ID but it is not worked.
<?php
$categories = $wpdb->get_results("
...
1
vote
1answer
43 views
Where is the changelog for 3.5? where is the list of added removed files?
This: http://codex.wordpress.org/Changelog/3.5 is not a changelog.
This: http://codex.wordpress.org/Version_3.5 gives a few changes, etc, but no list of files added and removed. Where might I find a ...
2
votes
1answer
97 views
Why does WP recommend against custom favicon functionality in themes?
I am developing a WordPress theme, and when reading the Codex article on Theme review, WP recommendeds against allowing custom favicons in a theme. Does anyone know the reason for this recommendation?
...
0
votes
2answers
115 views
Add Option if Not Exists
I need to see if an option, and if does, get the value. If not, I need to add it.
The Codex provides:
<?php
$option_name = 'myhack_extraction_length' ;
$new_value = '255' ;
if ( get_option( ...
5
votes
3answers
578 views
Is there a flowchart for wordpress loading sequence?
So like wp must load series of files from,
index.php -> ... -> wp-header.php -> ... ->functions.php
...and so on upon execution.
Also there must be a similar flowchart for functions ...
1
vote
1answer
213 views
Which action to hook wp_enqueue_script to? wp_head or wp_enqueue_scripts? [duplicate]
Possible Duplicate:
Where is the right place to register/enqueue scripts & styles
According to wp_enqueue_script() documentation in Codex, it seems that one should hook ...
1
vote
0answers
38 views
Set $options reference
I am starting up in theme development and i have searched on codex on the topic of setting theme options.This is is what i am talking about,
$options = array (
array( "name" => $themename." ...
8
votes
2answers
196 views
Is There a Plugin Life Cycle Documentation?
Is there some documentation somewhere that explains what is the life cycle of the plugins?
I'm starting a new plugin with OOP style, and I just found out that my main class is being instanciated a ...
0
votes
1answer
166 views
Enqueueing Scripts/Styles mid-page
Since WP 3.3, the codex has been updated for both wp_enqueue_script and wp_enqueue_style that you can now enqueue both mid-page (within the HTML body).
I see this as an advantage because:
It's ...
0
votes
1answer
424 views
What are these undocumented arguments for register_taxonomy?
The Wordpress codex has an example of the register_taxonomy() function at http://codex.wordpress.org/Taxonomies that shows arguments that are not documented in ...
2
votes
4answers
630 views
Different number of posts in each category
I have categories driven site. I have different template for each category. I would like to set different number of posts – different for each category. Plus I would like to add proper previous and ...
1
vote
1answer
281 views
Is the '/category/post-name-date/' permalink structure okay?
Wordpress Codex says: Make sure to end your structure with either
%post_id% or %postname% (e.g. /%year%/%monthnum%/%day%/%postname%/) so
that each permalink points to an individual post.
But ...
0
votes
1answer
61 views
WP Codex answer incomplete? Put WP in subdirectory. .htaccess change required
I have installed Wordpress in a subdirectory '/medical' and want the address to show up as
www.mysite.com/page not www.mysite.com/medical/page
The Wordpress Codex here : ...
0
votes
1answer
107 views
use custom field value as post category in loop
I have a page template and at the bottom, I want a loop of posts based on a custom field value - store_name
This is what I have:
<?php
global $wp_query;
$paged = (get_query_var('paged')) ...
7
votes
1answer
4k views
numberposts? showposts? posts_per_page?
So the documentation on the Codex is pretty clear that showposts is deprecated. But that same documentation mentions nothing of numberposts. Instead, posts_per_page is listed.
But if we turn to the ...
0
votes
1answer
363 views
Whats the difference between blog_info('stylesheet_url') difference get_stylesheet_uri()
The question is in the title really. What is the difference between blog_info('stylesheet_url') difference get_stylesheet_uri(), and if it's a case that one is newer then which.
The codex says:
...
1
vote
1answer
134 views
Help with Wordpress Query
I'm sort of a noob when it comes to Wordpess; I've only recently started building themes and I've run into a wall. I'm trying to feature 3 different articles at the top of my site using wpquery and ...
9
votes
1answer
2k views
Alternative to query_posts for main loop? [duplicate]
Possible Duplicate:
When to use WP_query(), query_posts() and pre_get_posts
I just noticed today that the documentation for query_posts() mentions some "disadvantages" of using query_posts ...
0
votes
2answers
68 views
What is the significance of _e(“Some String”, 'String')?
I have seen this in lots of wordpress themes and using it for a while but don't know what is the significance of it. It seems it does the same work as echo something out.
Look for it in codex but ...
1
vote
1answer
821 views
get_current_site() not returning site name
The function get_current_site() that's in my themes' footer.php file doesn't return the 'site name' property as specified in the docs (and expected in the theme). The purpose of the function is to ...
1
vote
2answers
417 views
Does codex.wordpress.org use a plugin of some sort? If so what plugin?
I'm attempting to set up a wiki within a Wordpress install and love the way codex.wordpress.org is set up. Are they using a specific plugin to accomplish that or just well structured pages? Is there ...
2
votes
1answer
189 views
Browser title script ignoring is_page /else conditional [closed]
I've used this code to stipulate different separators for different pages in my clients site:
<title>
<?php if(is_page('Portfolio')){
wp_title( 'of', true, 'right' );
echo ...
0
votes
3answers
482 views
Breadcrumbs - get the author?
I have my own function called breadcrumbs(). In it I call is_author() to determine whether I am on an author page. If true I would like to know which author's page I am on. I tried the_author(), but ...
0
votes
3answers
1k views
Calling a plugin in theme development
I am trying to call plugins on a theme page. Specifically I am after the 'User Avatar' theme but their will be other later.
How do I call a plugin on a theme?
Presumable something linke <?php ...
0
votes
3answers
101 views
Codex Version Focus on Production or Nightly?
The function get_users_of_blog() is to be deprecated in WP 3.1.0 but the current production release is 3.0.5.
Does it make since to have the documentation reflect a nightly change when the ...
