juggledad
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Sidebar is not showing at allWhere did I said anything about looking at sidebar.php? the only thing I told you to do was to add
<?php get_sidebar(); ?>
to your page.phpremove any changes you just did then edit page.pp and add
<?php get_sidebar(); ?>right before the
<?php get_footer(); ?>
so you have<?php get_sidebar(); ?> <?php get_footer(); ?>Forum: Fixing WordPress
In reply to: Site Always Shows Homepage whichever page I add1) how did you create teh menu
2) what is your dashboard->settings->general->WordPress Address (URL)?
3) what is your dashboard->settings->general->Site Address (URL)
4) is this site installed in a folder inside another install of wordpress by any chance?
5) what does teh .htaccess file look like for the root folder of wordpress and each parent folder?Forum: Fixing WordPress
In reply to: dot and white space on home page above imageThe dot is because that is the default style for a list. If you want to remove it you need to add `ul {list-style-type: none;}
Forum: Fixing WordPress
In reply to: Something's Screwywhat do you have set at dashboard->settings->reading->Front Page displays?
Forum: Fixing WordPress
In reply to: Site Always Shows Homepage whichever page I addcheck your permalink (dashboard->settings->permalink) and set it back to the default and see if the links work then.
your links are messed up and currently look like this
http://cluster3.website-staging.uk/sallyevansphoto.co.uk/?page_id=2/?page_id=50/home/blog/ http://cluster3.website-staging.uk/sallyevansphoto.co.uk/?page_id=2/?page_id=50/home/Forum: Fixing WordPress
In reply to: Page content blank but there in page on dashboardTry this, edit your about page and
1) change the title to ‘about2’
2) under the title, change the permalink to ‘http://thehealthycaterpillar.com/about2’
3) press teh update button
4) check your menu to have it point to the about2 page
5) testif it works, set all those back to’about’ and test again. If it fails again, then you probably have a post with the title ‘about’ also and having a post and page with the same title can cause issues
Forum: Fixing WordPress
In reply to: Sidebar is not showing at allHave you thought about using a theme that shows the sidebar on the right for all pages instead of trying to customize a theme when it seems like you don’t know PHP?
There are many themes out there to choose from…
If you want to try modifying the theme, look at the themes index.php and see where the code above is located. Now look at the code arround it. Next go to the page.php and look for the code that would be around the code above and make them look the same.
Be warned, if you make a mistake in altering the theme’s php code, you could cause your site to not work. Be sure that you are able to access the files via FTP or your host’s cPanel’s file manager before you make any changes!
You might want to down load a clean copy of the theme so you can replace the file you change if something goes wrong.
Forum: Fixing WordPress
In reply to: WP Query Help – Posts Per Pagetry this
<?php $args = array( 'post_type' => 'milo-books', 'posts_per_page' => -1, 'orderby' => 'rand' ); $loop = new WP_Query( $args ); if ($loop->have_posts()): while ($loop->have_posts()) { $loop->the_post(); break; } <h2>Featured Title</h2> <div class="featured-content-container"> // Main Content Here </div> <?php endwhile; ?> <?php else: ?> <h2>No Book Info Found.</h2> <?php endif; ?> <?php wp_reset_postdata();?>Forum: Fixing WordPress
In reply to: Sidebar is not showing at alldid you try it?
Forum: Fixing WordPress
In reply to: WP Query Help – Posts Per PageFirst, the order option only allows ‘ASC’ or ‘DESC’ and at this point you are telling the request to return the results ordered by date – this means they will always come back in the same order.
Secondly, the orderby displays the results of teh query in the order that you have chosen. That is important because if you only return one row, it does’t matte what the orderby is.
I would suggest leaving the ‘posts_per_page’ at -1, get rid of the ‘order’, set ‘orderby’ to rand and then change the while loop to do a ‘break;’ after the $loop->the_post();
Don’t forget to put the whole while inside brackets since you will have mofe than one PHP statement.
what about items 2 and 3? (item 3 should say error.log – darn auto correct)
Forum: Fixing WordPress
In reply to: Sidebar is not showing at allwell you need to display the sidebar before a widget will show up in the sidebar….so what in that code do you think you might need?
Forum: Fixing WordPress
In reply to: Sidebar is not showing at allThat is wodpress’s index.php. You need to look at the index.php in your theme’s folder.
ie …/wp-content/themes/yourtheme/index.phpForum: Fixing WordPress
In reply to: Sidebar is not showing at allThe twentyeleven theme does not display a sidebar on pages by design.
if you want to change that you will have to modify the code. You can take a look at index.php for an example.
Forum: Fixing WordPress
In reply to: php error_log showing SELECT SQL_CALC_FOUND_ROWSLooking at the SQL again, I realized I was wrong. I beleive the problem is that the select is taking place only on the ‘wp_posts’ table, but it is referencing a column (wp_postmeta.meta_value) that is in the ‘wp_postsmeta’ table.
You can check if it is theme relaed by swapping to a diferent theme and seeing is the same issue shows up. If it does, then it is NOT a theme issue but it it doesn;’t then it IS a theme issue and you need to talk to the theme author.