bhomatude
Forum Replies Created
-
That is one of the features in the pro lightbox.
Forum: Themes and Templates
In reply to: [Portfolio Press] responsive sidebar wrapping widthI decided to scrap the theme because the only way to correct it was to keep the sidebar at 24% width, which is too narrow for me. It didn’t seem to work changing the content width down to accommodate a wider sidebar either. Plus even at 24% width, the way it responsively wrapped was not great.
I don’t have the theme active anymore, but you’ll have to go into the style sheet and go to line 426:
footer.entry-meta:before, footer.entry-meta:after { background: none repeat scroll 0 0 #DDDDDD; box-shadow: 0 1px 0 0 #FFFFFF; content: ""; display: block; height: 1px; width: 100%; }
And I think all you’ll need to do is delete the entry-meta:before or after, so it’s like this:
footer.entry-meta:before { background: none repeat scroll 0 0 #DDDDDD; box-shadow: 0 1px 0 0 #FFFFFF; content: ""; display: block; height: 1px; width: 100%; }
And that should work.
In the portfolio press theme files, look for content-portfolio.php
Find around line 70:
<a href="<?php the_permalink() ?>" rel="bookmark" class="title-overlay"><?php the_title() ?></a>
And replace with this:
<a href="<?php the_permalink() ?>" rel="bookmark" class="title-overlay"><span style="font-size:120%;color:#F8951D;"><?php the_title() ?></span><br><br><?php the_excerpt() ?></a>
Note the <span style> added for font-size and color changes made to the title — Delete or use your own.
Forum: Plugins
In reply to: [NextGEN Custom Fields] display custom field on mouseover of thumbnail?Shauno!
Wow. That worked PERFECTLY! I styled the div to appear right where I wanted it and it works like a charm. Very cool. It’s a test for a potential job and if I get it, I’d like to throw you a few bucks for your very quick support.
Thank you!
Forum: Plugins
In reply to: [O3 Social Share] [Plugin: O3 Social Share] Enable plugin in WordPress pagesThanks, Brian!
Forum: Plugins
In reply to: [O3 Social Share] [Plugin: O3 Social Share] Enable plugin in WordPress pagesHi Brian —
I’m trying to drop this into the entry-utility div of a thematic child theme and can’t seem to get it to work. Anything I put between ‘ ‘ will show up no problem… just not this code or variations on it. I feel that I’m missing something super simple.
function my_postfooter($postfooter) {
$postfooter = str_replace(“</div><!– .entry-utility –>\n”, ”, $postfooter);
$postfooter .= ‘
‘;
$postfooter .= ‘echo o3_output_social_plugins()’ ;
$postfooter .= “</div><!– .entry-utility –>\n”;
return $postfooter;
}
add_filter(‘thematic_postfooter’, ‘my_postfooter’);Forum: Plugins
In reply to: [TheThe Tabs and Accordions] [Plugin: TheThe Tabs and Accordions] editing cssI highly suggest downloading firebug for firefox which will allow you to see exactly what css code is being used to style each element. You can then experiment live and copy your changes to the tabs and accordions settings page. Once you install firebug, just right-click on an element that you want to ‘inspect’.
My problem as well.
Forum: Plugins
In reply to: [AJAX Login Widget++] [Plugin: AJAX Login Widget ] Errors when logging outI was having a similar problem with logging out, but needed a redirect to a certain page… Here is a link that explains it all!
Default Usage
<a href="<?php echo wp_logout_url(); ?>" title="Logout">Logout</a>
Logout and Redirect to Current Page
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
Logout and Redirect to Homepage
<a href="<?php echo wp_logout_url( home_url() ); ?>" title="Logout">Logout</a>
Logout and Redirect to Another Site
If you are using wp_logout_url to redirect to another site on logout (e.g. another subsite in a MultiSite network) you’ll need to make use of the allowed_redirect_hosts filter
add_filter('allowed_redirect_hosts','allow_ms_parent_redirect'); function allow_ms_parent_redirect($allowed) { $allowed[] = 'multisiteparent.com'; return $allowed; } <a href="<?php echo wp_logout_url( 'https://multisiteparent.com' ); ?>" title="Logout">Logout</a>
Forum: Plugins
In reply to: [TheThe Tabs and Accordions] [Plugin: TheThe Tabs and Accordions] editing cssYes… you have to enter your css in the tabs and accordions dashboard settings page. There is a small edit window there.
Thanks for the quick response. I was able to get it to recognize my changes by deleting the cache files and saving the settings in wordpress.
I agree, #3 would be better — I tried that but wasn’t quite sure what I would be pointing to – my own version of skin.js or another complete folder of the shadowbox-js with all files/folders inside?
And to understand the syntax… If my skin.js exists in a folder called “shadowbox” which is in the root directory of my wordpress installation, then this would be the correct way of calling it?:
function custom_shadowbox_js($url) {
return get_bloginfo(‘stylesheet_directory’) . ‘/shadowbox/skin.js’;
}
add_filter(‘shadowbox-js’, ‘custom_shadowbox_js’);Thanks much!
Forum: Fixing WordPress
In reply to: Shadowbox Gallery DIRECT from Post Thumbnail linkI found a partial solution. In the functions.php code insert from above there is a call to shadowbox twice:
rel=”shadowbox[<?php echo $post->post_name; ?>]
by changing it to this:
rel=”shadowbox;height=405;width=720[<?php echo $post->post_name; ?>]
I get the correct h/w of the video… However this fixes that h/w for all videos. Substituting “auto” breaks shadowbox. Anyone?
Forum: Fixing WordPress
In reply to: Shadowbox Gallery DIRECT from Post Thumbnail linkthe tag parameters did not display the way I intended:
rel=”shadowbox;height=405;width=720″>
was added within the a href embed code to define the shadowbox size.
Forum: Fixing WordPress
In reply to: Shadowbox Gallery DIRECT from Post Thumbnail linkUsing the above code inserted into functions.php in the gallery theme. Shadowbox.js plugin installed. I want to use this specifically to launch video from the thumbnail. So far so good. It works – sort of. The problem I have is that I cannot seem to change the scaling of the video. The shadowbox defaults to a specific size not at all in relation to the video size.
I’ve changed the plugin settings. I’ve used the following tag parameters to define the video size:
And yet it will not budge!
I had the p75 simple video embedder installed but found using the embedding window with specific quicktime embedding code had no effect. I unistalled simple video embedder and the video still launched okay, but again the wrong size.
Any suggestions?