compacc
Forum Replies Created
-
contacted web host and it was on their end
Forum: Fixing WordPress
In reply to: Content in a div box in e.g. HEADER – outside loopThis is what I use, not sure how much of it would be useful to you so i pulled the complete code. I changed the name to News for you…this is between my <div> content bracket and the <div> post title bracket on every page I have. blog.compacc.com, I have only certain categories every link and those are even broken down. the posts on my main page only show there and not in our products review pages and stuff like that.
<div class="column"> <?php $postcount = "0"; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('category_name=News&paged=' . $paged);// reset post counter ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php $postcount++; // post counter ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
Forum: Fixing WordPress
In reply to: RRS Feed and Email Buttons not workingoh wow, i have never seen that site before, thank you…as i said i am learning still. I dont think I have done to badly considering what i came in with and what i have done to the site on my own by trial and error
Forum: Fixing WordPress
In reply to: RRS Feed and Email Buttons not workingyeah i fixed the rss and email feeds…my theme uses efrog so alot of weirdness comes from that.
other than that I have been editing it to fit my needs…I am fairly new to this so it has been trial and error on a few things. what errors do you see
Forum: Fixing WordPress
In reply to: website is all blankyeah the web hosters are sneaky devils…they never give you a heads up on anything but if you blog goes slow or quits working 90% of the time its on their end i have found out
Forum: Fixing WordPress
In reply to: RRS Feed and Email Buttons not workingbump, this is urgent
Forum: Fixing WordPress
In reply to: How to add posts to pages other than the home page?go to my blog and see if that is what you are talking about…my homepage shows certain posts, then when you click on any of the tabs across the top it narrows it down to different ones
if so I will be more than happy to give you an entire page script you can use and make new pages/templates for your site
Forum: Fixing WordPress
In reply to: website is all blankI had this issue happen to me twice. Once It was due to a mess up when I was messing with the functions file trying to get my tabs to swap. all i did was open up dreamweaver and remove what i added then re uploaded the file. The second time was during photo uploading and erasing for our contest we had going on. It was due to our web host having a glitch they were working on. I would suggest contacting your web host and see what they have going on
Forum: Fixing WordPress
In reply to: Older Posts Not Loading. URGENTthank you very much
Forum: Fixing WordPress
In reply to: Older Posts Not Loading. URGENTstill having issues. I take out the query and the older posts cycle through when i click the previous arrow. Do i need to add another query string down in the navigation section? I really need help asap.
Forum: Fixing WordPress
In reply to: Older Posts Not Loading. URGENTOk i posted it like this
<div class="column"> <?php $postcount = "0"; query_posts('category_name=News&pages=' . $paged);// reset post counter ?> <?php if (have_posts()) : ?>
Its news instead of motocross because i had the wrong php file opened at first when i made the original then updated it
with the query that way it still loads the same viewable posts
do i have to make changes to the code:// Find page with last post $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $postsppage= get_option('posts_per_page'); $total = $paged * $postsppage; $remainder = $total - $wp_query->found_posts; $endvar = $postsppage - $remainder; ?>
Forum: Fixing WordPress
In reply to: Older Posts Not Loading. URGENTI posted
query_posts('category_name=News&pages=' . $paged);// reset post counter ?>
in the code as so:<?php // Find page with last post $paged = (get_query_var('news')) ? get_query_var('news') : 1; query_posts('category_name=News&pages=' . $paged);// reset post counter ?> $postsppage= get_option('posts_per_page'); $total = $paged * $postsppage; $remainder = $total - $wp_query->found_posts; $endvar = $postsppage - $remainder; ?>
And now this is at the bottom of my Blogs page where the Older Posts Button was:
$postsppage= get_option(‘posts_per_page’); $total = $paged * $postsppage; $remainder = $total – $wp_query->found_posts; $endvar = $postsppage – $remainder; ?>Forum: Fixing WordPress
In reply to: Older Posts Not Loading. URGENTwhere in my code should i post that. In the query code or down below the “Find the last page” area