Forum Replies Created

Viewing 15 replies - 1 through 15 (of 37 total)
  • Thread Starter mjoanisse

    (@mjoanisse)

    Hi, it turns out there was conflicting function causing the issue in my functions.php file.

    Thread Starter mjoanisse

    (@mjoanisse)

    I did yes, and with no luck .. Thanks for your response though. Cheers

    Thread Starter mjoanisse

    (@mjoanisse)

    Thanks for the reply Ipstenu, I appreciate that. That was in fact what I did, I wanted to share my solution with community which is why I requested the ticket be re-opened.

    Thread Starter mjoanisse

    (@mjoanisse)

    I’ve also just experienced another issue.

    I’m using custom permalinks, /%category%/%postname%/

    When i ‘twitter this’, the auto populated message, outputs the post title and web address but is missing the page’s id.

    JP’s first all Original https://localhost:8888/?p=

    Regards,
    Michel

    Thread Starter mjoanisse

    (@mjoanisse)

    Hi again, everything worked like a charm, exactly what i was looking for. I really appreciate you’re in depth help and support.

    Another question, regarding the facebook service, when i click on link, it takes me to a page and requests i input a page i’d like to share, shouldn’t this be auto-populated? Is this do-able with you’re plugin?

    Cheers!
    Michel

    Thread Starter mjoanisse

    (@mjoanisse)

    Hi Richard, thanks for the reply. That all looks great, I will give it a shot this and get back to you –

    Regards,
    Michel

    @useshots – there is no problem doing that, the issue is when a user tries to upload a new media file, where it requires a new directory (new month) – it’s created as ‘apache’ user/author role (as described by hosting provider), which prevents it from uploading content, regardless of whether or not directories are set to 777 permissions.

    Thread Starter mjoanisse

    (@mjoanisse)

    Thank you esmi –
    I have the pagination query in place already, which is working fine in other areas apart from category template.

    Here is what I have ..

    <?php
    		if (is_category(15)) {
    		$queried_category = 15;
    		} else if (is_category(13)) {
    		$queried_category = 13;
    		} else if (is_category(18)) {
    		$queried_category = 18;
    		}
    
    		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; // allow for pagination
    
    		$args = array (
    		'cat' => $queried_category,
    		//'posts_per_page' => 3,
    		'paged' => $paged
    		);
    
    		query_posts($args);
    		?>
    
            <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>
            // content here
            <?php endwhile; ?>
    
            <div class="pagination">
            <?php previous_posts_link('< previous page', 0); ?>
            <?php next_posts_link('next page >', 0); ?>
            </div><!--End pagination-->
    
            <?php else : endif; ?>

    Thank you for reply emhr.

    I don;t think so, here is the what i have.

    <?php
    		if (is_category(15)) {
    		$queried_category = 15;
    		} else if (is_category(13)) {
    		$queried_category = 13;
    		} else if (is_category(18)) {
    		$queried_category = 18;
    		}
    
    		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; // allow for pagination
    
    		$args = array (
    		'cat' => $queried_category,
    		//'posts_per_page' => 3,
    		'paged' => $paged
    		);
    
    		query_posts($args);
    		?>
    
            <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>
            // content here
            <?php endwhile; ?>
    
            <div class="pagination">
            <?php previous_posts_link('< previous page', 0); ?>
            <?php next_posts_link('next page >', 0); ?>
            </div><!--End pagination-->
    
            <?php else : endif; ?>

    Hi – I’m experiencing similar / same issue. (when removing the ‘posts_per_page’ parameter from query, the pagination works .. ?

    (I’m also, trying to setup pagination on ‘category’ template.)

    Anyone else have reasoning for this? I will try the filter myself, in hopes to surpass the issue .. but I would much prefer a logical reasoning to the problem we’re face with here.

    Cheers!

    there is a typo in the query defined in your above statement –
    'paged'=>$paged,));

    try this –

    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; 
    
    $args = array (
      'posts_per_page' => 5,
      'paged' => $paged
    );
    
    query_posts($args);
    if (have_posts()) : while (have_posts()) : the_post();
    ?>
    
    <li>
    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    <div class="date">{<?php the_time('l, j F, Y') ?>}</div>
    </li>
    
    <?php endwhile; ?>
    <?php previous_posts_link('< previous page', 0); ?>
    <?php next_posts_link('next page >', 0); ?>
    <?php else: endif; ?>
    </ul>

    Forum: Fixing WordPress
    In reply to: !is_search()
    Thread Starter mjoanisse

    (@mjoanisse)

    i’ve tried !is_search() on a similar if statement, which seemed to have worked; however, not in this case.

    Forum: Fixing WordPress
    In reply to: wp_list_pages
    Thread Starter mjoanisse

    (@mjoanisse)

    *sorry, i’d tried rewing_query();.

    Thank you for the article reference –
    cheers

    Forum: Fixing WordPress
    In reply to: wp_list_pages
    Thread Starter mjoanisse

    (@mjoanisse)

    ahhh, that is great!

    I was trying to add it after a custom query (in a sidebar) – If possible can you give a little more description on the topic?

    i’d tried ‘reset_query();‘ but i suppose this only applies to the loop?

    Thanks again.
    Michael

    Forum: Fixing WordPress
    In reply to: wp_list_pages
    Thread Starter mjoanisse

    (@mjoanisse)

    also, if it’s worth mentioning. (which it probably is) –

    The page with id ’40’, has a custom query_posts, with pagination enabled.

Viewing 15 replies - 1 through 15 (of 37 total)