mpukit
Forum Replies Created
-
Forum: Plugins
In reply to: [Posts in Page] Pagination to link to Previous PostsI was using Custom Permalinks, and switched to Post Name Permalinks, and that resolved the issue for me.
Using default or custom however, draws the 404.
Forum: Plugins
In reply to: [Posts in Page] Pagination to link to Previous PostsHI –
I’m having the same issue where post navigation is pulling a 404 page. I don’t have the default permalinks settings – I have custom permalinks setup, but its still not working as expected.
Any update as to when this issue might be resolved?
Thanks!
In case it wasn’t clear – if I don’t enter anything and just click submit – the form goes through without errors that would usually come up in CF7.
Thanks.
Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] Text area Support?Never mind – I see its not supported in an answer to someone else:(
Forum: Plugins
In reply to: [Collapse-O-Matic] Collapse-Pro-Matic or Collapse-O-Matic not working…Any duplicate call for a jQuery library could cause conflicts and for one or more of your plugins to not work.
Might look something like this, but could be coming from elsewhere or be an earlier version:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
Forum: Plugins
In reply to: [Collapse-O-Matic] Targeting [expandsubs] & StylingMaybe I thought I was on the right track, but I didn’t get this figured out.
Forum: Plugins
In reply to: [Collapse-O-Matic] Targeting [expandsubs] & StylingNever mind – again…got it. Thanks for letting us “roll our own”!
Forum: Plugins
In reply to: [Collapse-O-Matic] Collapse-Pro-Matic or Collapse-O-Matic not working…Do a “View Source” in FF or whatever browser, copy and paste the code into a text editor and do through it to find your conflicting line of code. Generally if you have an older (or any) version of jQuery being called after the Collapse-o-Matic call, that would probably be your problem.
Forum: Plugins
In reply to: [Collapse-O-Matic] Collapse-Pro-Matic or Collapse-O-Matic not working…Never mind – resolved.
There was a version of jQuery 1.4 loading in my footer that I had overlooked.
Forum: Plugins
In reply to: [Flexible Posts Widget] Post Navigation LinksHere’s what my custom template looks like now (just a few add-ins to the standard template – a date, excerpt…):
<?php /** * Flexible Posts Widget: Default widget template */ // Block direct requests if ( !defined('ABSPATH') ) die('-1'); echo $before_widget; if ( !empty($title) ) echo $before_title . $title . $after_title; if( $flexible_posts->have_posts() ): ?> <ul class="dpe-flexible-posts"> <?php while( $flexible_posts->have_posts() ) : $flexible_posts->the_post(); global $post; ?> <li id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <a href="<?php echo the_permalink(); ?>"> <?php if( $thumbnail == true ) { // If the post has a feature image, show it if( has_post_thumbnail() ) { the_post_thumbnail( $thumbsize ); // Else if the post has a mime type that starts with "image/" then show the image directly. } elseif( 'image/' == substr( $post->post_mime_type, 0, 6 ) ) { echo wp_get_attachment_image( $post->ID, $thumbsize ); } } ?> <h4 class="title"><?php the_title(); ?></h4> </a> <?php the_time('Y-m-d', '<h2>', '</h2>'); ?> <?php the_excerpt() ?> </li> <?php endwhile; ?> <?php post_navigation(); ?> </ul><!-- .dpe-flexible-posts --> <?php else: // We have no posts ?> <div class="dpe-flexible-posts no-posts"> <p><?php _e( 'No post found', 'flexible-posts-widget' ); ?></p> </div> <?php endif; // End have_posts() echo $after_widget;
Forum: Plugins
In reply to: [Posts in Page] List of Posts in "Posts Loop Template" Ordering By Date IssueThanks Eric, I appreciate your time.
Forum: Plugins
In reply to: [Posts in Page] List of Posts in "Posts Loop Template" Ordering By Date IssueI’m sorry for the confusion…. I put it out-of-order so that the date would display correctly. (Band-aid solution – thought it looked better than a missing date) I had “order=DESC” in the shortcode for that page only.
I’ve just reverted it to “order=ASC” to match the others, and you can now see exactly what the problem is…missing date:
Forum: Plugins
In reply to: [Posts in Page] List of Posts in "Posts Loop Template" Ordering By Date IssueIt’s the customized “posts_loop_mytemplate.php” I posted here (above).
I call the event date without the year, and then echo the current year…a little workaround so that the client could create posts marked in the future.
Forum: Plugins
In reply to: [Posts in Page] List of Posts in "Posts Loop Template" Ordering By Date IssueI’m pulling the page into the page because I am showing the same sidebar in multiple places, and only happens when the current page is the first in the list.
Not the best with PHP, so i’m unsure what code to post…
I have single.php going to a one of many custom single.php files depending on what category the post it needs to display is in.
This is the loop from my custom single.php templates:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="entry"> <?php the_content(); ?> </div> <?php endwhile; endif; ?> <?php get_footer(); ?>
Forum: Plugins
In reply to: [Posts in Page] List of Posts in "Posts Loop Template" Ordering By Date IssueHi Eric,
Thanks for the quick reply. I tried changing my shortcode as you did here, and same result.
Something to note – it only happens when the post being listed is the page that the list is showing up on, and its the first item in the list.
If the first post is the current post, it hides the date (M/D). I’m calling the year after <?php the_date ?> as the current year, since I need to list posts in the future. Make sense?