hustleturtle
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: big fonts on first post on index column moved down.ok the big font is fixed, BUT
now the side bar has big fonts on IE
but not in firefox
how do i fix it?
Forum: Fixing WordPress
In reply to: how do i put thumbnails on the index page posts?it works thanks very much!
Forum: Fixing WordPress
In reply to: how do i put thumbnails on the index page posts?thanks vtxyzzy
it worked perfectly now
im happy ??
i want to know how do you make the thumbnail to be clickable and link to the post itself?
what do i need to change on the code and where?
Forum: Fixing WordPress
In reply to: how do i put thumbnails on the index page posts?where exactly do i put the code on the functions.php and index.php??
im a bit newbie sorry..
here is the functions.php
please tell me exactly where do i put it
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(
‘name’=>’sidebar_full’,
‘before_widget’ => ‘<li id=”%1$s” class=”sidebaritem %2$s”><div class=”sidebarbox”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’,
));
register_sidebar(array(
‘name’=>’sidebar_left’,
‘before_widget’ => ‘<li id=”%1$s” class=”sidebaritem %2$s”><div class=”sidebarbox”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’,
));
register_sidebar(array(
‘name’=>’sidebar_right’,
‘before_widget’ => ‘<li id=”%1$s” class=”sidebaritem %2$s”><div class=”sidebarbox”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h2 class=”widgettitle”>’,
‘after_title’ => ‘</h2>’,
));
register_sidebar(array(
‘name’=>’footer_left’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h3>’,
‘after_title’ => ‘</h3>’,
));
register_sidebar(array(
‘name’=>’footer_middle’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h3>’,
‘after_title’ => ‘</h3>’,
));
register_sidebar(array(
‘name’=>’footer_right’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h3>’,
‘after_title’ => ‘</h3>’,
));add_action(‘admin_menu’, ‘add_welcome_interface’);
function add_welcome_interface() {
add_theme_page(‘welcome’, ‘Theme Options’, ‘8’, ‘functions’, ‘editoptions’);
}function editoptions() {
?>
<div class=’wrap’>
<h2>Theme Options</h2>
<form method=”post” action=”options.php”>
<?php wp_nonce_field(‘update-options’) ?>
<p>Greeting Heading:</p>
<p><input type=”text” name=”greeting” value=”<?php echo get_option(‘greeting’); ?>” /></p>
<p>Welcome Message:</p>
<p><textarea name=”welcomemessage” cols=”100%” rows=”10″><?php echo get_option(‘welcomemessage’); ?></textarea></p>
<p>Please enter the name of your FeedBurner feed below: (What’s the name of your feed? Well, for instance, in the following – https://feeds.feedburner.com/NAME – NAME would be your feed :))</p>
<p><input type=”text” name=”feedname” value=”<?php echo get_option(‘feedname’); ?>” /></p>
<p><input type=”submit” name=”Submit” value=”Update Options” /></p>
<input type=”hidden” name=”action” value=”update” />
<input type=”hidden” name=”page_options” value=”feedname,greeting,welcomemessage” />
</form>
</div>
<?php
}function mytheme_comment($comment, $args, $depth) {
$GLOBALS[‘comment’] = $comment; ?>
<li <?php comment_class(); ?> id=”li-comment-<?php comment_ID() ?>”>
<div id=”comment-<?php comment_ID(); ?>”>
<?php echo get_avatar($comment,$size=’60’); ?>
<div class=”commentbody”>
<cite><?php comment_author_link() ?></cite>
<?php if ($comment->comment_approved == ‘0’) : ?>
Your comment is awaiting moderation.
<?php endif; ?><small class=”commentmetadata”>” title=””><?php comment_date(‘F jS, Y’) ?> on <?php comment_time() ?> <?php edit_comment_link(‘edit’,’ ‘,”); ?></small>
<?php comment_text() ?>
</div><div class=”cleared”></div><div class=”reply”>
<?php comment_reply_link(array_merge( $args, array(‘depth’ => $depth, ‘max_depth’ => $args[‘max_depth’]))) ?>
</div>
</div>
<?php
}function mytheme_ping($comment, $args, $depth) {
$GLOBALS[‘comment’] = $comment; ?>
<li <?php comment_class(); ?> id=”li-comment-<?php comment_ID() ?>”>
<div id=”comment-<?php comment_ID(); ?>”>
<div class=”commentbody”>
<cite><?php comment_author_link() ?></cite>
<?php if ($comment->comment_approved == ‘0’) : ?>
Your comment is awaiting moderation.
<?php endif; ?><small class=”commentmetadata”>” title=””><?php comment_date(‘F jS, Y’) ?> on <?php comment_time() ?> <?php edit_comment_link(‘edit’,’ ‘,”); ?></small>
<?php comment_text() ?>
</div>
</div>
<?php
}?>
Forum: Fixing WordPress
In reply to: how do i put thumbnails on the index page posts?this is the error
Warning: Cannot modify header information – headers already sent by (output started at /home/sites/public_html/mydomain.com/wp-content/themes/pixel/functions.php:124) in /home/sites/public_html/mydomain.com/wp-login.php on line 337
Warning: Cannot modify header information – headers already sent by (output started at /home/sites/public_html/mydomain.com/wp-content/themes/pixel/functions.php:124) in /home/sites/public_html/mydomain.com/wp-login.php on line 349
Warning: Cannot modify header information – headers already sent by (output started at /home/sites/public_html/mydomain.com/wp-content/themes/pixel/functions.php:124) in /home/sites/public_html/mydomain.com/wp-includes/pluggable.php on line 690
Warning: Cannot modify header information – headers already sent by (output started at /home/sites/public_html/mydomain.com/wp-content/themes/pixel/functions.php:124) in /home/sites/public_html/mydomain.com/wp-includes/pluggable.php on line 691
Warning: Cannot modify header information – headers already sent by (output started at /home/sites/public_html/mydomain.com/wp-content/themes/pixel/functions.php:124) in /home/sites/public_html/mydomain.com/wp-includes/pluggable.php on line 692
Warning: Cannot modify header information – headers already sent by (output started at /home/sites/public_html/mydomain.com/wp-content/themes/pixel/functions.php:124) in /home/sites/public_html/mydomain.com/wp-includes/pluggable.php on line 890
Forum: Fixing WordPress
In reply to: how do i put thumbnails on the index page posts?ok i did that and now i cannot login to the site anymore ??
i get an error when i try to login wp admin:
Warning: Cannot modify header information – headers already sent by (output started at /home/server/html/mydomain.com/wp-content/themes/pixel/functions.php:124) in /home/server/html/mydomain.com/wp-login.php on line 337
many of those error lines
please help
Forum: Fixing WordPress
In reply to: how do i put thumbnails on the index page posts?thanks
doesnt work still
i did all that and i get 6 thumbnails and the text is bellow the thumbnail, i want the thumbnail alignet left and the text on the right of the thumbnail.
the 6 thumbnails appear cause on that post i get 3 big images.
but it was close, just something is missing.
also i want the thumbnail to be clickable and link the the post url.
the plugin in the middle that i want to move to bottom is
SEO SearchTerms Tagging 2
Forum: Plugins
In reply to: How to make pages to be listed on RSS Feed?huge thanks samboll
Forum: Themes and Templates
In reply to: how to change the sidebar color of a theme?thanks man
appreciated
Forum: Themes and Templates
In reply to: how to change the sidebar color of a theme?this is the code
the side bar is black background with white font color
i want to edit the black background and change it to pink
how do i do that?
*/
body {margin:0 auto; width:787px; text-align:center; padding:0; font-family:arial, sans-serif; font-size:95%;position:relative; background:#fff url(bg.gif) repeat-x; color:#777;}
a {color:#777;text-decoration:none;}
h1 {font-size:175%;} h2 {font-size:150%;} h3 {font-size:125%;} h4 {font-size:105%;} h5 {font-size:75%;} h6 {font-size:50%;}
.wrapper {margin:10px auto; text-align:left; width:787px; wid\th:777px; background:#fff; position:relative; -moz-border-radius: 12px; -webkit-border-radius: 12px; padding:10px;border:1px solid #ccc;}
.header {background:url(header.gif) no-repeat;color:#fff; text-align:center; height: 108px; display:table-cell; vertical-align: middle; width:787px;}
.siteTitle a {padding-top:20px;font-size:1.75em; color:yellow; font-weight:bold;}
*:first-child+html .siteTitle a {display:block;padding-top:30px;}
*:first-child+html .menu.top {margin-top:-7px;}
.header ul, .footer ul {margin:0; padding:10px 0 0 0;}
.header ul li, .footer ul li {display:inline; padding:10px 5px 0 0;}
.header li a, .footer li a {color:#fff;font-size:.8em; padding:0 10px 0 0; border-right:1px; border-right-style:solid;}
.header ul li.last a, .footer ul li.last a {border:none;}
.footer li a {color:#777;}
.footer li.first {margin-right:5px;}
.main {background: url(sidebar.gif) right repeat-y;}
.content {float:left;width:540px; padding:15px; margin-bottom:-35px; font-size:90%;}
.sidebar {float:right; width:180px; background: url(sb-top.png) no-repeat top center; padding:20px 10px 0 10px; color:#fff; font-family:verdana; font-size:.85em;}
.sidebar ul {margin:5px 0 0 20px; padding:0;}
.sidebar ul li a {color:#fff;display:block;padding:0 0 10px 0;}
.footer {text-align:center; background:url(footer.gif) no-repeat;height:56px;color:#777}
.footer ul li.last.sitemap a {border-left:1px; border-left-style:solid;padding-left:10px;margin-left:-10px;}
.footer .copyright {padding-top:5px;font-size:.8em;}
.images img {padding:0 13px 0 0;}
.images img.last {padding-right:0;}
.menu.side h4 {margin:10px 0 5px 5px;}
#respond textarea {width:540px;}
.nocomments{background:#EDEFF0 url(messagebox.gif) no-repeat;padding:0 12px;height:27px;line-height:27px;width:510px;}
.clear {clear:both;background: url(sb-bottom.png) no-repeat right;height:18px;}
.adsense250.left {float:left;}
.content .tags, .content .post-edit-link {float:left; display:block; line-height:25px;padding:5px 20px; background:url(../../icons.gif) no-repeat 0 -490px; font-size:.85em;}
.content .post-edit-link {background-position:0 -55px;}
#respond {display:block; clear:both; font-size:.9em; padding-top:1px;}Forum: Installing WordPress
In reply to: error installing 2.8.3i did everything on that page
up till step 9.
and at the end i get this
same error:
i load the upgrade.php url and then a button that says upgrade your database appear,
i click it and i get this error, its long, i only put the first 2 lines
WordPress database error: [Duplicate entry ‘1’ for key 1]
INSERT INTO wp_terms (term_id, name, slug, term_group) VALUES (1, ‘Uncategorized’, ‘uncategorized-2’, 1)WordPress database error: [Duplicate entry ‘1-category’ for key 2]
INSERT INTO wp_term_taxonomy (term_id, taxonomy, description, parent, count) VALUES ( 1, ‘category’, ”, 0, 12)the end of the page says this message:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/username/www.mydomainname.com/docs/wp-includes/plugin.php on line 137
i can browse the site, but when i try to login to admin, it goes to the same page:
Database Upgrade Required
WordPress has been updated! Before we send you on your way, we have to upgrade your database to the newest version.
The upgrade process may take a little while, so please be patient.
Upgrade WordPress Database
…………………………….
please help
Forum: Installing WordPress
In reply to: error installing 2.8.3upgrading
old version is 2.1
what makes no sense?
Forum: Themes and Templates
In reply to: how to remove the links to next post and previous post ?thanks
Forum: Plugins
In reply to: about WP-Autobloghey, yes i did
this is what happensWarning: MagpieRSS: Failed to parse RSS file. (not well-formed (invalid token) at line 13, column 26) in (location of file rss_fetch.inc on line 237)
also whats MagpieRSS ?? im supposed to install that also? i only installed wp autoblog.