joyced
Forum Replies Created
-
Forum: Plugins
In reply to: dont want to ping when editing old postI use PingFix: https://betamode.de/wp-pingfix/#en
Forum: Your WordPress
In reply to: Name email still appear on comment formYou could try this plugin: https://txfx.net/code/wordpress/forget-user-info/
Forum: Themes and Templates
In reply to: 2.1 blog page uses wrong templateEdit the page and select the index template in the box that says “Page Template”.
Forum: Plugins
In reply to: seperate parts in 1 postForum: Themes and Templates
In reply to: Why is this border extending so far?I just had a look again, it could also be because there’s a paragraph tag before the img tag.
Forum: Themes and Templates
In reply to: Why is this border extending so far?I had a look at your CSS and it’s probably to do with this being in there:
img {border:none;display:block;margin: .5em 0}
That says that each image’s top and bottom margins should be .5em, so what I don’t get is why it’s not adding the margin to the top of the images you refer to. Adding the following may work, or it may not. ??
.imgborderR img, .imgborderL img { margin: 0; }
Forum: Plugins
In reply to: Recent posts in sidebar: best plugin?I just use get_posts. https://codex.www.ads-software.com/Template_Tags/get_posts
Forum: Plugins
In reply to: Link Counter Within Pluginhttps://frenchfragfactory.net/ozh/archives/2004/09/17/click-counter-plugin-for-wordpress/
To use it outside of posts you’ll have to change the URL manually.
Forum: Plugins
In reply to: topics from categoriesLooks like you fixed it.
Forum: Plugins
In reply to: topics from categories“Ilreca.it è in costruzione
Il sito sarà presto online”…
Forum: Plugins
In reply to: topics from categoriesLook for the section that starts with
<?php if (have_posts()) : ?>
and ends with<?php endif; ?>
. Replace that entire section with the following:<?php
$lastposts = get_posts('numberposts=1&category=1');
foreach($lastposts as $post) :
setup_postdata($post);
?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a>
<p class="meta"><?php the_time('F jS, Y') ?> by <?php the_author() ?></p>
<div class="entry"><?php the_content('Read the rest of this entry »'); ?></div>
<p class="info">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endforeach; ?>
<?php
$lastposts = get_posts('numberposts=1&category=2');
foreach($lastposts as $post) :
setup_postdata($post);
?>
<div class="post" id="post-<?php the_ID(); ?>">
<h1><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a>
<p class="meta"><?php the_time('F jS, Y') ?> by <?php the_author() ?></p>
<div class="entry"><?php the_content('Read the rest of this entry »'); ?></div>
<p class="info">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endforeach; ?>Check on your Manage > Categories page that the ID of the categories is correct. You said 1 and 2, so I put 1 and 2. If the ID is actually something else, look for
category=1
orcategory=2
in the above code and change the ID.Forum: Plugins
In reply to: topics from categoriesEDIT: misread your post. Gimme a minute.
Forum: Everything else WordPress
In reply to: Does WP have such a menuThis plugin creates tree menus for your archives, pages and categories: https://www.silpstream.com/blog/wp-dtree/
Forum: Themes and Templates
In reply to: I need HelpActually it’s messed up in Opera too. I looked at your source and CSS but I can’t figure it out. Personally I would never even code it like that, I’d use tables instead.
Forum: Themes and Templates
In reply to: Can I display a list of recent posts by title/header?I use this:
<ul>
<?php
$myposts = get_posts('numberposts=10');
foreach($myposts as $post) :
?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>