Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter compacc

    (@compacc)

    contacted web host and it was on their end

    This 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(); ?>">
    Thread Starter compacc

    (@compacc)

    oh 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

    Thread Starter compacc

    (@compacc)

    yeah 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

    yeah 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

    Thread Starter compacc

    (@compacc)

    bump, this is urgent

    https://blog.compacc.com/

    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

    I 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

    Thread Starter compacc

    (@compacc)

    thank you very much

    Thread Starter compacc

    (@compacc)

    still 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.

    Thread Starter compacc

    (@compacc)

    Ok 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;
    	?>

    Thread Starter compacc

    (@compacc)

    I 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; ?>

    Thread Starter compacc

    (@compacc)

    where in my code should i post that. In the query code or down below the “Find the last page” area

Viewing 13 replies - 1 through 13 (of 13 total)