terryago
Forum Replies Created
-
Forum: Plugins
In reply to: [Table of Contents Plus] Recommendations for using TOC with tabbed contentNope. Just turn of TOC+ on tabbed pages.
Forum: Plugins
In reply to: [WP Super Cache] Error when enable itTry opening wp-config.php and replacing the line starting “
define('WPCACHEHOME'
” with:define('WPCACHEHOME', dirname(__FILE__) . '/wp-content/plugins/wp-super-cache/');
Worked for me.
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] "The page isn't redirecting properly"Mvied, thanks for all your help, I’ll look into it.
It’s just odd that the “URL filters” do work…
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] "The page isn't redirecting properly"Sure. Thanks so much for you help.
EDIT: Hmm. Actually, it is disabled…
Forum: Plugins
In reply to: [WordPress HTTPS (SSL)] "The page isn't redirecting properly"Done
CallMeAndy,
I don’t totally understand your description here. It might help if you added a screenshot or a link to your site.
In any event, if your looking to add a collapsible element, you should be fine with the basic roll-your-own-elements code and accompanying CSS.
That will have the image url appearing when you hover over the title though… If you want to remove that, you’ll have to roll your own elements.
Herzfams,
In my limited understanding, what causes the collapsemotic plugin to function has to do with a javascript function activated when you click on a link. This changes a class in the hidden content, which is then modified by CSS.
So in order to modify the plugin, you’d have to modify the javascript in the plugin file itself, and not just muck around with the CSS.
You could try creating a simple roll-your-own-elements and just add line of CSS for
.collapseomatic_content:hover { display: none }
, but I don’t know if it would work properly.I’m sure Baden can give you a more conclusive answer. Good luck!
Sounds good!
Dhkendall,
Sure. The
<b>
etc tags will only show up as title text when you hover if you’re using the shortcodes. Using a simple “roll your own elements” will work fine. Example below (switch both instances of “myID
” with whatever is appropriate:<h4 class="collapseomatic" title="The History of Star Wars" id="myID">The History of <em>Star Wars</em></h4> <!-- Returns title with Collapse-o-matic formatting --> <div class="content_collapse_wrapper"><div id="target-myID" class="collapseomatic_content force_content_collapse">Collapsed content</div></div> <!-- Returns post content in collapse-o-matic div -->
Deanna,
It would seem to make the most sense to me to move the
img
in the page template, instead of controlling it through CSS if you want it to appear below the post title.Try something like the following:
<h4 class="collapseomatic" title="<?php the_title(); ?>" id="<?php the_ID(); ?>"><?php the_title(); ?></h4> <!-- Returns title with Collapse-o-matic formatting --> <?php echo get_the_post_thumbnail($page->ID, 'thumbnail'); ?> <!--puts thumbnail below the title and above the expandable content--> <div class="content_collapse_wrapper"><div id="target-<?php the_ID(); ?>" class="collapseomatic_content force_content_collapse"><?php the_excerpt(); ?></div></div> <!-- Returns post content in collapse-o-matic div -->
You’ll obviously have to modify margins and padding, and you may need to insert a
clear: both
declaration to deal with annoying wrapping.Always glad to be helpful.
??
Glad the code is helpful.
In order to switch the arrow position, you’d have to play around with the
background-position
attribute on thecollapseomatic
class. Assuming you’re using my code, which allows for both posts with and without thumbnails, you’d have to modify the following bit of css for the arrow..collapseomatic { background-position: 0px /*x-position*/ 8px /*y-position*/; } .has-thumb .collapseomatic { background-position: 58px /*x-position*/ 8px /*y-position*/; }
You’ll have to play with the css encoding for the header itself, or your arrow will probably overlay with another element. You can control that with the following.
h4.collapseomatic { margin: 0; padding: 0 0 0 22px; }
In order to fix the size of the thumbnail (and the padding), you can tweak the following bit of css.
#post-list-item .collapseomatic img.attachment-thumbnail { height: 50px !important; width: 50px !important; padding: 0 10px 0 0 !important; }
Now, to have a size of 275x75px cropped, the best thing to do will probably be to create a custom thumbnail size and re-generate your thumbnails for existing posts. I’ve had success using the Additional Image Sizes (zui) plugin (the settings show up under Media -> Image sizes after install).
Hope that helps. Good luck!
Forum: Hacks
In reply to: Blank search breaks formattingI guess I’ll mark this as resolved. ??
Forum: Hacks
In reply to: Blank search breaks formattingHave you tried using the plugin “Redirection”?