Quote:
Originally Posted by tonyparra
I hate to keep asking for things if you charged for extended i would probably pay but actually im doing so much with this plugin, more fun ideas come up. This code works perfectly but a few things i noticed i was wondering if we could change. is it possible to align the first 4 images in a square table?
e.g.
1 2
3 4
|
You can do it this way:
Code:
$post ['custom_fields'] ['thumb'] = preg_replace ( '/.*?img src="(.*?)".*?$/s', "\\1", $post ['post_excerpt'] );
$base = str_replace ( basename ( $post ['link'] ), "", $post ['link'] );
$post ['post_content'] .= strip_tags ( $post ['post_excerpt'] );
$post ['post_content'] .= "<table align=\"center\">\n";
$post ['post_content'] .= "<tr>\n";
$post ['post_content'] .= "<td><a href=\"" . $base . "/001.mpg" . "\"><img src=\"" . $base . "/001.jpg" . "\"></a></td><td><a href=\"" . $base . "/002.mpg" . "\"><img src=\"" . $base . "/002.jpg" . "\"></a></td>\n";
$post ['post_content'] .= "</tr><tr>\n";
$post ['post_content'] .= "<td><a href=\"" . $base . "/001.mpg" . "\"><img src=\"" . $base . "/003.jpg" . "\"></a></td><td><a href=\"" . $base . "/004.mpg" . "\"><img src=\"" . $base . "/004.jpg" . "\"></a></td>\n";
$post ['post_content'] .= "</tr>\n";
$post ['post_content'] .= "</table>\n";
$post ['post_content'] .= "<p align=\"center\"><a href=\"" . $post ['link'] . "\"><strong>Click Here For More!</strong></a></p>\n";
Quote:
Originally Posted by tonyparra
Also i pulled 5 post manually from this particular feed from pimproll and i got the same post 5 times with none of the text spun. This strange because all xml feeds syndicate fine and text is being spun. Solutions? Thanks in advance.
*i pulled a 6th post and got a different post so maybe there is a problem with the feed itself http://rss.pimproll.com/rss.php?id=M...1&j=13&src=rss
|
Sorry, didn't get this question. Do you mean that you are getting duplicated posts or the they just don't synonymize?