fool4Christ
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Floating SPANS within DIVJust came back to mark this as fixed. I solved it by giving in & using container DIVs — one for the left-floated items, another for right-floated.
It’s working great, despite being a bit too much code than I’d like.
I did experiment with floating both spans left, specifying widths, max-widths, and a number of other things, but the only thing that worked flawlessly was adding additional DIVs within the main DIV mentioned in my opening post.
Forum: Plugins
In reply to: New Plugin: CommentLuv – luv your commenters!When pulling the latest post (“Oh! Gravity.”) from cloud9lyrics.com, CommentLuv only outputs the opening link tag followed by “Oh!”; the last half of the title as well as the closing link tag are omitted. Does CommentLuv have a problem with explanation points or is there another problem here?
Forum: Plugins
In reply to: New Plugin: CommentLuv – luv your commenters!I changed the add_text() function to comment_luv_add_text(), modifying it in such a way that the “Enable CommentLuv” checkbox can be manually added to a theme anywhere in the comment form above the do_action() call. You can see the modified plugin code here:
https://pastebin.com/f702cfdfe
I borrowed the idea/method from the Subscribe to Comments plugin. I’m now including the CommentLuv bit in my theme with this code:
<?php if (function_exists('comment_luv_add_text')) { comment_luv_add_text(); } ?>
That’s added in my theme’s comments.php file, just above the HTML for the comment form submit button.
Just thought I’d share, in case anyone else finds that useful.
Forum: Installing WordPress
In reply to: Help Changing URL With Mod Rrewrite After Permalink ChangeFound a solution and blogged it, if anyone’s interested.
Forum: Installing WordPress
In reply to: Help Changing URL With Mod Rrewrite After Permalink ChangeNo one has any ideas?
Forum: Installing WordPress
In reply to: Help Changing URL With Mod Rrewrite After Permalink ChangeI’ve spent a few hours experimenting with Regex and mod_rewrite, searching this forum and others… Still no look.
I’d really like to shrink my permalinks from being date & name based to being simply date based, as smashingred mentioned above.
From: /%year%/%month%/%date%/%postname%/
To: /%postname%/Anyone have any ideas? (10 months and the above post hasn’t even gotten a reply… :\ Perhaps I shouldn’t hold my breath.)
Forum: Fixing WordPress
In reply to: problem with sidebar appearing below postsTammyKat, it looks like there’s still some errant code in the posts themselves.
If you would like, I could check the posts out for you and make sure everything’s okay. Sometime’s a second set of eyes do wonders.
That would either require sending me your user/pass, or setting up a new user (via the Users page of the admin panel) for me with level of “Editor.” After the problem is fixed, you’d be able to delete that user.
If you’re interested, [email protected] is my email.
(Also, when you’re viewing the post edit screen, you’re using the visual editor, right? You might try disabling it to edit those posts. Visit https://puuurfectdesigns.com/blog/wp-admin/profile.php and deselect the “use the visual editor when editing” box, then save the settings. You’ll be able to see all code present in the post when editing without the visual editor.)
Forum: Themes and Templates
In reply to: Change number of posts in main indexIf you only want to change the number of posts shown on your main page without affecting the paged archives, try out the code posted in this thread.
Forum: Fixing WordPress
In reply to: Page navigation brokenI guess it isn’t exaggeration if I say I fully believe in, “If it doesn’t work the first time, keep guessing till it does.”
Glad you finally got it working! ??
Forum: Fixing WordPress
In reply to: How to redirect from https://site.com to https://www.site.com ?Did the method I suggested work, ghaus?
Forum: Fixing WordPress
In reply to: Page navigation brokenOne last try? lol!
if ( is_home() && !is_paged() ) { if ( $i == 1 ) { ?> <img src="<?php bloginfo('template_directory');?>/images/fresh.gif" id="fresh" alt="Newest Post" title="This post is guaranteed to be freshly published"/> <?php } } ?>
Forum: Fixing WordPress
In reply to: problem with sidebar appearing below postsTammyKat, I wasn’t referring to the theme files. I’m referring specifically to the following two posts:
https://puuurfectdesigns.com/blog/archives/10
https://puuurfectdesigns.com/blog/archives/11The problem only occurs when those posts are displayed. Your other posts are fine. Your theme is fine.
You simply need to edit those two posts and strip out all the unnecessary tags, leaving only the text of the posts.
Hope you get it sorted out! ??
Forum: Fixing WordPress
In reply to: Blank pageGlad to hear it, topcatism! ??
Forum: Fixing WordPress
In reply to: Newbie, please helpPlace them back in the header, but style them in a manner that will still allow them to be read by speech readers & picked up by search engines, but will be invisible to visual users. For example:
<h1 style="left-margin:-9999px;"><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <p style="left-margin:-9999px;><?php bloginfo('description'); ?></p>
Forum: Fixing WordPress
In reply to: Page navigation brokenSorry about that, miromiro! Try giving this one a whirl:
<?php while (have_posts()) : the_post(); if ( is_home() ) { if ( $i == 1 ) { ?> <img src="<?php bloginfo('template_directory');?>/images/fresh.gif" id="fresh" alt="Newest Post" title="This post is guaranteed to be freshly published"/> <?php } } ?>
I’m not for sure why the first example won’t work, but maybe this one will.