There’s lots of info about child themes, but it’s difficult to find instructions how to find info and rules in how to check them. Can someone please point me a direction where i can find my answers?
Kindly Lillan
]]>I’m testing my new theme, everything is perfect except the scheduled post (which according to the xml looks like it should publish on 01/01/2050) is publishing when I import the file.
Any ideas?
Thanks – Lee.
]]>$$key = get_option($shortname.'_'.$key, $option['default']);
I’m assuming it’s something those lines are referencing
This is a link to my functions file
https://pastebin.com/uw0f2cZq
Any help is appreciated, thanks.
]]>Info: Non-printable characters were found in the D:\wamp\www\wordpress/wp-content/themes/atmosphere-2010/functions.php file. You may want to check this file for errors.
I spent a good couple of hours and rebuilt the functions.php file function by function, and the error is caused by a Twenty Ten function, “twentyten_posted_on”
I downloaded a clean “twenty ten 1.1” and the check Theme plugin gives the same error.
Theme passed all the tests!
* Info: Non-printable characters were found in the D:\wamp\www\wordpress/wp-content/themes/twentyten/functions.php file. You may want to check this file for errors.
Twenty Ten Posted On Function:
/**
* Prints HTML with meta information for the current post—date/time and author.
*
* @since Twenty Ten 1.0
*/
if ( ! function_exists( 'twentyten_posted_on' ) ) :
function twentyten_posted_on() {
printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),
'meta-prep meta-prep-author',
sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
get_permalink(),
esc_attr( get_the_time() ),
get_the_date()
),
sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
get_author_posts_url( get_the_author_meta( 'ID' ) ),
sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
get_the_author()
)
);
}
endif;
I downloaded and re-installed WordPress as well, when I run the Theme Check plugin (this is the only one activate), I also get a message:
Notice: get_plugin_data was called with an argument that is deprecated since version 3.0! The Site Wide Only: true plugin header is deprecated. Use Network: true instead. in D:\wamp\www\wordpress\wp-includes\functions.php on line 3321
I am now unsure if it is the ‘twentyten_posted_on’ function or the ‘theme test’ plugin, anyone have any ideas?
Regards
David
]]>How would I delete all the content of my wordpress install (i.e all posts, comments, uploads etc) and reset the installation to as if it had just been installed?
I would then like to import the theme tester xml. Could someone give me a step by step guide as the one on the codex is not much use…
thanks.
]]>I would like to let users test out my themes without having to create a blog for each individual theme. I have seen and tried the “TEST” or “DEMO” or “PREVIEW” features of other website…..I would like to do the same thing. If anyone could point me in the right direction it would be greatly appreciated…..
BTW, I tried using the Theme Preview plugin but there is some type of compatibility issue with WPMU.
Thanks in advance for any and all help!!
Courtney Meister Bostdorff
]]>