mjoanisse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: search template – meta_queryHi, it turns out there was conflicting function causing the issue in my functions.php file.
Forum: Fixing WordPress
In reply to: Permalinks Custom TaxonomyI did yes, and with no luck .. Thanks for your response though. Cheers
Forum: Everything else WordPress
In reply to: Request to re-open threadThanks 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.
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,
MichelHi 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!
MichelHi Richard, thanks for the reply. That all looks great, I will give it a shot this and get back to you –
Regards,
MichelForum: Fixing WordPress
In reply to: Two quick questions on SuPHP?@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.
Forum: Fixing WordPress
In reply to: pagination issue – caused by 'posts_per_page' parameterThank 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; ?>
Forum: Fixing WordPress
In reply to: Pagination in custom query for category.php not workingThank 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; ?>
Forum: Fixing WordPress
In reply to: Pagination in custom query for category.php not workingHi – 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!
Forum: Fixing WordPress
In reply to: Pagination on single.phpthere 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()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*sorry, i’d tried rewing_query();.
Thank you for the article reference –
cheersForum: Fixing WordPress
In reply to: wp_list_pagesahhh, 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.
MichaelForum: Fixing WordPress
In reply to: wp_list_pagesalso, if it’s worth mentioning. (which it probably is) –
The page with id ’40’, has a custom query_posts, with pagination enabled.