ikirudesign
Forum Replies Created
-
Forum: Plugins
In reply to: Adding Custom Fields to Press ThisThis was about eight pages down, so I thought I’d give it an old-fashioned bump.
Forum: Plugins
In reply to: Show all Posts / No more “read here” or “read more”If you change
<?php the_excerpt_rss(); ?>
(why’s that being used there anyway?) to
<?php the_content()?>
It should work. If it fails, I’m completely useless.
Forum: Plugins
In reply to: how to add page up link and image.New Concept is indeed using Javascript. The method I described is far easier, but jumpy.
I don’t know nearly enough about Javascript to explain how to do that.
Forum: Plugins
In reply to: loop won’t show firstThe most likely cause–I see nothing in that code that’s obviously doing it–is the query_post loop. query_post loops can easily get thrown off if you’re trying to use more than one loop on a page. That’s why it’s been recommended for a while that you make your own loop, with WP_Query.
Forum: Plugins
In reply to: Show all Posts / No more “read here” or “read more”This is a theming issue, and though a plugin could to it, the easiest way would be to tweak your theme. Basically your theme’s archive page (archive.php) is displaying the_excerpt rather than the_content.
Open up your theme’s archive.php in the WordPress’s theme editor (or a text editor, doesn’t matter) and look for something like this:
<div class="entry"> <?php the_excerpt() ?> </div>
and change it to:
<div class="entry"> <?php the_content() ?> </div>
That should do it for you.
Forum: Plugins
In reply to: how to add page up link and image.You’re looking for a “Return to top” kind of link?
Those are done with anchors. You need to add an anchor (
<a name="top"></a>
) at the very top of your page (in your head.php file), and then links to it (Return to top) where you want those pointers to be.Forum: Plugins
In reply to: Plugin to automatically insert pictures into posts based on category?You’re looking for something like Slashdot (all posts in the same category get the same category image displayed)?
If that’s the case, I’d recommend doing something in your actual theme pages rather than inserting the image into each new post. That way, if you ever want to change the category picture, or change a post’s category, the change will not require manually altering the image.
To do it you basically just need to add to your loop, in pseudocode:
if post_cat=X { echo '<img src="https://www.picturefor.com/x.gif">' }
That’s a very crude version, my coding muscles have atrophied. Hope it’s at least a little helpful.
Forum: Fixing WordPress
In reply to: having to blow away mySql TablesThere are ways to extract your tables with PHPMyAdmin and the like, but perhaps the easier option is a backup plugin like this one.
The codex also has a comprehensive guide of your options.
And just for future reference: don’t be afraid to Google what you want. Searches for WordPress topics pretty regularly have GREAT results. The links in the post were just the first two results for “wordpress backup plugin”.
Forum: Fixing WordPress
In reply to: Blog Post DislpayYou can either use the More quicktag, or edit your index.php file to show the_excerpt instead of the_content.
Forum: Fixing WordPress
In reply to: How to generate a rectangular box for a piece of code or commandsUsually aesthetics are managed with themes. In the case of the site you link to, they’ve wrapped that text in
<code></code>
and then styled the code attribute.The easiest way to get something like that would be to add
code { border: 1px dashed black; }
to the style.css file of the theme you’re using. Then where you want that border, do something like this:
<code>Code goes here.</code>
There’s much more you can do with CSS, but that should get you started.
Forum: Fixing WordPress
In reply to: How To Add Google Analytics Tracking?Usually people put Analytics tracking code into the footer.php file. I believe Google wants it right before the </body> tag.
Alternatively, there’s this rather popular plugin to do it automatically.
Forum: Fixing WordPress
In reply to: gravatarsIt supports them out-of-the-box. So did 2.5.
You can find out more here. And don’t be afraid to ask your question of the box in the upper right corner before you take it to the real people.
Forum: Fixing WordPress
In reply to: WordPress 2.6 Image Aligntment Problems: What Doesn’t Workaletheides, I’m not exactly sure what problem you’re having, but it seems at least a little like mine. Have you checked to see if the HTML being outputted by WordPress includes the necessary classes? That seems to be the problem I’m having (though I, too, lack a solution).
Forum: Fixing WordPress
In reply to: Display custom Excerpt on some–not all!–posts.First: like Moshu, I have never heard of such a feature.
Second: the first solution that comes to my head is to use a custom field (e.g. showexcerpt) and then check it in the loop. This obviously doesn’t get it back to the behavior you remember, but it’s the closest I can get you.
Basically in your loop, in place of the_content you’d then say something like:
if (!get_post_meta($post-<ID, 'showexcerpt', true)) { the_content() } else { the_excerpt() }
What that should do, is get the post’s contents if you haven’t set a value for showexcerpt in the post’s custom fields. If you have, it’ll show the excerpt instead.
Third: there *may* be a way to know if the user has changed the post’s excerpt, which would allow you to modify the code and get rid of the custom field altogether. I can’t think of what that way would be though.