Sridhar Katakam
Forum Replies Created
-
https://www.ads-software.com/plugins/featured-image-generator/ is working fine.
Just tried the current latest version. Same problem.
Forum: Plugins
In reply to: [HeartThis] Heartthis Genesis Simple editsThis plugin provides a
[heart_this_hearts]
shortcode. Have you tried it?Forum: Fixing WordPress
In reply to: Remove Featured Image from Posts in Genesis frameworkMagazine Pro does not have code to display featured image automatically from what I can see.
You might want to double check your theme files to see if custom code is present for this or it may be coming from a plugin.
The image you see on single posts in the demo site, like https://demo.studiopress.com/magazine/nordstrom-womens-fashion/ is inserted within the body of the post.
@sebastianlaube I checked the output of phpinfo() and do see that cURL is enabled.
I do not have Apache and other parts of the localhost server inside a VM.
Any other ideas?
and the video itself is only half visible.
Try setting overflow-y to auto for the featherlight container.
.featherlight { overflow-y: auto; }
Forum: Plugins
In reply to: [Simple Social Icons] Unsafe attempt to load URL..Correction: The icons do appear (they are in first of the three Footer widgets) but the JS error is still present in Google Chrome (but not in Firefox).
Update: Apparently it’s a bug in Chromium. https://bugs.chromium.org/p/chromium/issues/detail?id=470601
- This reply was modified 8 years, 3 months ago by Sridhar Katakam.
Forum: Plugins
In reply to: [WordPress Popular Posts] Different markup for the first post – Possible?Thanks Andrew. Not an ideal solution, but should be ok..
DS uses XAMPP and allows us to easily spin up WP sites on localhost.
They do have a free version which has certain limitations but those limitations do not matter for testing the issue being discussed here.
It can be downloaded here: https://serverpress.com/get-desktopserver/
Thanks in advance.
Forum: Plugins
In reply to: [WordPress Popular Posts] Is pagination possible?Cool.
It would be nice to be able to achieve a ‘click to load more’ for the popular posts.
Ex.: https://dev-ajax-more-tabs.pantheonsite.io/. 1st and 3rd tabs have regular WP queries and the 2nd tab shows a fixed no. of popular posts.
Forum: Plugins
In reply to: [WordPress Popular Posts] How to display excerpt in wpp_post filter function?Strange.
I’ve already taken the code for custom excerpt from your linked wiki page and it works.
Thank you.
Thanks.
I got it working using the following code:
/* * Display the featured image and space separated categories */ function my_custom_single_popular_post( $post_html, $p, $instance ) { $tbWidth = $instance['thumbnail']['width']; $tbHeight = $instance['thumbnail']['height']; $size = array( $tbWidth, $tbHeight ); $thumb = get_the_post_thumbnail( $p->id, $size, array( 'class' => 'wpp-thumbnail wpp_featured_stock' ) ); // Retrieve post categories $categories = get_the_category( $p->id ); foreach( $categories as $category ) { // Get the ID of this category $category_id = get_cat_ID( $category->cat_name ); $cats .= '<span class="category ' . $category->category_nicename . '">' . $category->name . '</span>' . ' '; } $cats = rtrim( $cats, ' ' ); $cats = sprintf( '<div %s>', genesis_attr( 'postmeta' ) ) . $cats . '</div>'; $output = '<li><a href="' . get_the_permalink( $p->id ) . '">' . $thumb . '</a><div class="caption"><h4 class="title">'. $p->title . '</h4>'. $cats .'</div></li>'; return $output; } add_filter( 'wpp_post', 'my_custom_single_popular_post', 10, 3 );
Suggestions for improvement are appreciated especially in the code to pull the image (which I grabbed from the plugin’s main php file):
$tbWidth = $instance['thumbnail']['width']; $tbHeight = $instance['thumbnail']['height']; $size = array( $tbWidth, $tbHeight ); $thumb = get_the_post_thumbnail( $p->id, $size, array( 'class' => 'wpp-thumbnail wpp_featured_stock' ) );
Forum: Themes and Templates
In reply to: Genesis Child ThemeNot a theme but I have several tutorials on setting up full screen video backgrounds with text/widget overlay on the top.
Since the tutorials are only for paid members and I am not sure whether posting links to them here would be frowned upon, you may want to do a google search for my name, go to my site and check theme out, if you are interested.
If you would like to do it yourself, here are a couple of options for you: