ChetG
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Latest version 5.4 breaking ajax formFor anyone else who comes here looking for a possible solution. I did some digging through the CF7 releases between 5.3 and 5.4.1. I have gotten my AJAX powered forms working again by changing the refill method to reset.
- wpcf7.refill($form); + wpcf7.reset($form);
Hopefully that helps someone out here too.
Forum: Fixing WordPress
In reply to: Troubleshooting get_posts() on Static Home Page<?php query_posts('posts_per_page=3&cat=-1'); ?> <?php while (have_posts()) : the_post(); ?> <h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3> <small><?php the_date();?></small> <?php the_content(); ?> <?php endwhile;?> <?php wp_reset_query(); ?>
I changed my coding to this, which I think may have been what you intended for me to do in the first place. Thanks for your input and walking with me through this. I should have come to the WP Forum earlier than I did.
Forum: Fixing WordPress
In reply to: Troubleshooting get_posts() on Static Home Page<?php query_posts('posts_per_page=3&cat=-1'); ?> <?php wp_reset_query(); ?> <?php while (have_posts()) : the_post(); ?> <h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3> <?php endwhile;?>
That’s what the code looks like now. However now on the page it’s just relooping the page title, over, and over, and over on into perpetuity. This is the same thing that happened when I tried just using a loop to do this.
Maybe we’re getting closer to the source of the problem.
Forum: Fixing WordPress
In reply to: Troubleshooting get_posts() on Static Home Page<?php query_posts('posts_per_page=3&cat=-1');?> <?php while (have_posts()) : the_post(); ?> <h3><a href="<?php the_permalink();?>"><?php the_title();?></a></h3> <?php endwhile;?>
So that gives me the ability to edit the appearance the way I want, but it’s also displaying the query twice. Any advice on that?
You can see the example here: Follow the Link
Forum: Fixing WordPress
In reply to: Troubleshooting get_posts() on Static Home PageOkay so I implemented:
<?php query_posts('posts_per_page=3&cat=-1');?>
While it does display the posts, it doesn’t offer any control in display design. It’s also a great fix to my problem, and maybe I can’t do what I’m wanting to do? Though that seems implausible.
Forum: Fixing WordPress
In reply to: Troubleshooting get_posts() on Static Home PageYeah I am also displaying a separate set of information in the page as well as these posts. You can see how I have it set up at the link. I was also told that query_posts() was only usable on the posts page, and with the loop.
Maybe I’ve been mislead.
Forum: Fixing WordPress
In reply to: Creating PHP PagesThanks Otto42!!