bigscaryrobot
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help with "Next" and "Previous" codeThat worked! Here’s the final code. Not sure if I did it right, but it works. ??
<div id="nextprevious"> <?php posts_nav_link( ' ', '<img src="' . get_bloginfo('stylesheet_directory') . '/images/next.png" style="float:right;"/>', '<img src="' . get_bloginfo('stylesheet_directory') . '/images/prev.png" style="float:left;" />' ); ?> </div> <!-- Closes contentwrapper-->
Thanks so much for your help!
Forum: Fixing WordPress
In reply to: Help with "Next" and "Previous" codeOkay, I think it’s sort of working now. But notice on this page (https://flowersarepretty.com/?paged=2) how NEXT and PREVIOUS are right next to each other. Any way to fix that so they are on either side of the post like before?
Forum: Fixing WordPress
In reply to: Help with "Next" and "Previous" codeHere’s the original Index.php for reference:
[moderated: chunk of code removed as per forum rules – please use a pastebin for larger amounts of code]
Forum: Fixing WordPress
In reply to: Help with "Next" and "Previous" codeI’m probably not coding it right, but I was able to get one button to appear using this code:
<div id="nextprevious"> <?php posts_nav_link( ' ', '<img src="' . get_bloginfo('stylesheet_directory') . '/images/prev.png" />', '<img src="' . get_bloginfo('stylesheet_directory') . '/images/next.png" />' ); ?> </div> <!-- Closes contentwrapper-->
However, it only seems to be the NEXT button. The PREVIOUS button just disppears.
My site is https://flowersarepretty.com
Forum: Fixing WordPress
In reply to: Help with "Next" and "Previous" codeYes, using that code makes the navigation disappear entirely. I think I have that Kubrick problem and I’m not sure how to fix it within this theme (Pixeled).
Forum: Fixing WordPress
In reply to: Changing The Font Color of Titles and PostsNever mind. I got it. ??
Forum: Fixing WordPress
In reply to: Editing Navigation ButtonsAny idea how to edit it? I see
?php wp_list_pages('sort_column=ID&depth=3&title_li=');?>
but I have no idea how to add different links.Thanks.
Forum: Fixing WordPress
In reply to: Next and Previous buttons not working on homepageYou are my hero! Thanks so much! ??
Forum: Fixing WordPress
In reply to: Make “More…” Link an Image?I saw that, but I don’t understand where to put the code. In the Stylesheet?
Forum: Fixing WordPress
In reply to: Different mastheads for different pagesI only have a page.php, so I guess it would go in there?
Also, I have no idea where to put that code in my header.
<head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description'); } elseif (is_category() ) {single_cat_title(); echo " - "; bloginfo('name'); } elseif (is_single() || is_page() ) {single_post_title(); echo " - "; bloginfo('name'); } elseif (is_search() ) {bloginfo('name'); echo " search results: "; echo wp_specialchars($s); } else { wp_title('',true); }?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <meta name="robots" content="follow, all" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(wp-content/themes/pixel/images/".$random.".png); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <style type="text/css"> #header #logo { background: <?php $stylesarray = array("mastheadfinal"); $random = $stylesarray[rand(0,count($stylesarray)-1)]; echo "url(wp-content/themes/pixel/images/".$random.".png);" ?> } </style></div> <?php wp_head(); ?> <!--[if lt IE 8]> <link href="<?php bloginfo('template_url'); ?>/ie.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link href="<?php bloginfo('template_url'); ?>/ie6.css" rel="stylesheet" type="text/css" /> <script src="https://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script> <![endif]--> </head> <body> <div id="wrapper"> <div id="header" onclick="location.href='<?php bloginfo('home') ?>'"> <div id="logo"> <span><?php bloginfo('description'); ?></span> </div> <div id="topright"> <ul><li> <BODY><div id=EchoTopic> <a href="https://notstepfordwives.com/wordpress/?page_id=46" onmouseover="image1.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/cookingbutton_2.gif';" onmouseout="image1.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/cookingbutton_1.gif';"> <img name="image1" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/cookingbutton_1.gif" border=0></a> <a href="https://notstepfordwives.com/wordpress/?page_id=48" onmouseover="image2.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/tipsbutton_2.gif';" onmouseout="image2.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/tipsbutton_1.gif';"> <img name="image2" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/tipsbutton_1.gif" border=0></a> <a href="https://notstepfordwives.com/wordpress/?page_id=50" onmouseover="image3.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/shoppingbutton_2.gif';" onmouseout="image3.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/shoppingbutton_1.gif';"> <img name="image3" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/shoppingbutton_1.gif" border=0></a> <a href="https://notstepfordwives.com/simplemachinesforum/" onmouseover="image4.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/forumbutton_2.gif';" onmouseout="image4.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/forumbutton_1.gif';"> <img name="image4" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/forumbutton_1.gif" border=0></a> </BODY> </li> </ul> </div> </div><!-- Closes header --> <div class="cleared"></div>
Forum: Fixing WordPress
In reply to: Different mastheads for different pagesWhere would I put the code if I used the “get header” tags? Which php file?
Forum: Fixing WordPress
In reply to: Removing “More” and “Comment” from pages?Thanks! That worked. ??
Forum: Fixing WordPress
In reply to: Removing “More” and “Comment” from pages?I don’t have a category.php. I have:
Archives (archive.php)
Comments (comments.php)
Footer (footer.php)
Header (header.php)
Main Index Template (index.php)
Page Full Width Page Template (page_fullwidth.php)
Page Template (page.php)
Search Form (searchform.php)
Sidebar (sidebar.php)
Single Post (single.php)
Theme Functions (functions.php)
welcome.php (welcome.php)
Stylesheet (style.css)Forum: Fixing WordPress
In reply to: Remove all reference to commentsI’m looking to do the same thing, but there is no mention of comments in my index.php file. Where else might I find this code?
Forum: Fixing WordPress
In reply to: Different Header ImagesThis is my header code. Could someone tell me how to integrate this functionality?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description'); } elseif (is_category() ) {single_cat_title(); echo " - "; bloginfo('name'); } elseif (is_single() || is_page() ) {single_post_title(); echo " - "; bloginfo('name'); } elseif (is_search() ) {bloginfo('name'); echo " search results: "; echo wp_specialchars($s); } else { wp_title('',true); }?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <meta name="robots" content="follow, all" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo(wp-content/themes/pixel/images/".$random.".png); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <style type="text/css"> #header #logo { background: <?php $stylesarray = array("mastheadfinal"); $random = $stylesarray[rand(0,count($stylesarray)-1)]; echo "url(wp-content/themes/pixel/images/".$random.".png);" ?> } </style> <?php wp_head(); ?> <!-- this product is released under General Public License. Please see the attached file for details. You can also find details about the license at https://www.opensource.org/licenses/gpl-license.php --> <!--[if lt IE 8]> <link href="<?php bloginfo('template_url'); ?>/ie.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link href="<?php bloginfo('template_url'); ?>/ie6.css" rel="stylesheet" type="text/css" /> <script src="https://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script> <![endif]--> </head> <body> <div id="wrapper"> <div id="header" onclick="location.href='<?php bloginfo('home') ?>'"> <div id="logo"> <span><?php bloginfo('description'); ?></span> </div> <div id="topright"> <ul><li> <BODY><div id=EchoTopic> <a href="https://notstepfordwives.com/wordpress/?page_id=46" onmouseover="image1.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/cookingbutton_2.gif';" onmouseout="image1.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/cookingbutton_1.gif';"> <img name="image1" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/cookingbutton_1.gif" border=0></a> <a href="https://notstepfordwives.com/wordpress/?page_id=48" onmouseover="image2.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/tipsbutton_2.gif';" onmouseout="image2.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/tipsbutton_1.gif';"> <img name="image2" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/tipsbutton_1.gif" border=0></a> <a href="https://notstepfordwives.com/wordpress/?page_id=50" onmouseover="image3.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/shoppingbutton_2.gif';" onmouseout="image3.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/shoppingbutton_1.gif';"> <img name="image3" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/shoppingbutton_1.gif" border=0></a> <a href="https://notstepfordwives.com/simplemachinesforum/" onmouseover="image4.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/forumbutton_2.gif';" onmouseout="image4.src='https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/forumbutton_1.gif';"> <img name="image4" src="https://notstepfordwives.com/wordpress/wp-content/themes/pixel/images/icons/forumbutton_1.gif" border=0></a> </BODY> </li> </ul> </div> </div><!-- Closes header --> <div class="cleared"></div>