Charles Stricklin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Create new post with local time & date automatically?That is awesome! Thank you, threadi.
Forum: Everything else WordPress
In reply to: Possible to create a post without a title?In other words, if I create a new post on March 16, 2021 at 1:47 PM, I’d like the title to automatically be filled in as March 16, 2021 at 1:47 PM.
I’m thinking the problem is more to do with the theme because within WordPress itself scrolling works just fine.
F12/Full screen, yes
Forum: Fixing WordPress
In reply to: Article contains unwanted hyperlinksIt appears to be a plugin called WP Powerlinks that is inserting links for keywords it finds in your posts to monetize your blog traffic.
Check your active plugins to see if you can find it and disable it. If not, then it may be the theme you are using.
Forum: Fixing WordPress
In reply to: back-up / restore due to corrupt databaseYou might also want to verify a couple of things before you restore your database backup:
1. Is you hosting company having any issues with their MySQL services? That could be the cause of the error.
2. Verify that the database settings in your wp-config.php file are correct.
3. Try creating a new test database in MySQL and change your wp-config.php to match. If you still get the error message, your current database is fine.If only one or a few passwords are the issue, you may want to try resetting them directly: https://codex.www.ads-software.com/Resetting_Your_Password
I hope that I’ve understood your issue correctly and that this helps.
Forum: Themes and Templates
In reply to: Two columns of posts: one of a certain category, one not?…but I don’t have multiple categories per post. ??
Forum: Themes and Templates
In reply to: Two columns of posts: one of a certain category, one not?Here’s the final function, thanks to Matt Read (AKA BigJibby)
<?php
function wpcommunity_index_loop() {
global $wp_query; ?><ul>
<?php $wp_query->query('cat=-4&showposts=5');
while (have_posts()) : the_post(); ?>
<li class="nonpodcasts"><?php the_excerpt(); ?></li>
<?php endwhile;
$wp_query->query('cat=4&showposts=5');
while (have_posts()) : the_post(); ?>
<li class="podcasts"><?php the_excerpt(); ?></li>
<?php endwhile; ?>
</ul>
<?php }
?>Forum: Themes and Templates
In reply to: Two columns of posts: one of a certain category, one not?Here’s where I stand now:
<?php $my_query = new WP_Query('category_name=podcast&showposts=3');
while ($my_query->have_posts()) : $my_query->the_post();?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_excerpt(); ?>
</div>
</div>
<?php endwhile; ?>
<?php $my_query = new WP_Query('showposts=3');
while ($my_query->have_posts()) : $my_query->the_post();?>
<?php if (!in_category("Podcast")) : ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_excerpt(); ?>
</div>
</div>
<?php endif; ?>
<?php endwhile; ?>…but the 2nd loop is returning the 3 most recent posts, regardless of category.
Forum: Themes and Templates
In reply to: Two columns of posts: one of a certain category, one not?Maybe I’m wrong, but I don’t think that’s going to work in my particular case.