japol69
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Braintree] Errornevermind i figured it out…
it seems its throwing error on urls with “?”
lol yeah ??
yeah that was my first solution unfortunately that won’t work on blog sites hosted on wordress.org … which unfortunately my client had ??
yeah it used to work on Version: 3.1.1 … when i upgraded to 3.2 it didnt work.. so i reverted to the older version
Forum: Plugins
In reply to: [WP RSS Multi Importer] Image issuemarking this as resolved now
Forum: Plugins
In reply to: [WP RSS Multi Importer] Image issuethanks for the quick reply dude… much appreciated
Forum: Plugins
In reply to: [WP RSS Multi Importer] Image issuehttps://blogmns.wordpress.com/feed/ << the buggy rss
https://gsklinikk.wordpress.com/feed/ << ok rssthe widget shortcode:
[wp_rss_multi_importer mytemplate=”boxes.php” windowstyle=”2″ maxperpage=”3″ excerptlength=”0″ defaultimage=”2″ hdsize=”14″]This should help …as long as the post contains featured images
on wp-content/plugins/wp-rss-aggregator/includes/feed-processing.php find
function wprss_items_insert_post_meta( $inserted_ID, $item, $feed_ID, $feed_url) {after that put:
if ($enclosure = $item->get_enclosure()) { $thumb = $enclosure->get_thumbnail(); if($thumb=="") { $thumb = get_bloginfo('template_directory')."/images/noimage72x45.gif"; } } update_post_meta( $inserted_ID, 'wprss_item_thumb', $thumb );
on wp-content/plugins/wp-rss-aggregator/includes/feed-display.php
find:
function wprss_default_display_template( $display_settings, $args, $feed_items ) {inside the while loop.. add the line
$xthumbnail = get_post_meta( get_the_ID(), 'wprss_item_thumb', true );
you can display image such as:
if ( $general_settings['title_link'] == 1 ) { $output .= "$link_before" . '<a ' . $display_settings['open'] . ' ' . $display_settings['follow'] . ' href="'. $permalink . '"><img src="'. $xthumbnail.'" />' . get_the_title() . '</a>'. "$link_after" ; }