Riversatile
Forum Replies Created
-
It’s like if the line below don’t know extract the page ID for each page, although foreach($page_array as $page) instruction is present.
$pagethumb = get_the_post_thumbnail( $value->ID, array(230,299), $attr = 'class=shopthumbnail' );Please help !
Here is the only thing I could do for the moment.
But this displays the first post thumbnail for each page 🙁
See here : http://www.riversatile.fr/Someone has the solution ?
function flexipages_list($page_array, $level = 0) { if(!$page_array) return; $pagelist = ""; foreach($page_array as $page) { $date = ""; $pagethumb = get_the_post_thumbnail( $value->ID, array(230,299), $attr = 'class=shopthumbnail' ); if(isset($page['date']) && $page['date']) $date = " ".$page['date']; $pagelist .= str_repeat("\t", $level+1).'<li class="'.$page['class'].'">'.$pagethumb.''.$date; if($page['children']) $pagelist .= flexipages_list($page['children'], $level+1); $pagelist.= "</li>\n"; } if($pagelist) $pagelist = str_repeat("\t", $level)."<ul>\n{$pagelist}".str_repeat("\t", $level)."</ul>"; return $pagelist; }Forum: Fixing WordPress
In reply to: Duplicate Tags, Different Slugs – Way to Merge?Hi,
Sorry, I only read the title of your topic…
Because I saw today an extension called Simple Tag that allows you to merge tags.
Cheers
Forum: Fixing WordPress
In reply to: veryplaintxt pages not workingI downloaded the latest release of your theme from http://wordpress.org/extend/themes/veryplaintxt and I saw the issue in page.php ! It’s still there.
Forum: Fixing WordPress
In reply to: How To Add Page NumberFor info, here is a link to your theme DEMO :
http://demo.colorlabsproject.com/arthemia-premium/page/2/
At the bottom (and in the source code) you can see WP-Page-Navi DIV :
<div class=”wp-pagenavi”>… …You can try to add the code below :
<div class="navigation"> <?php wp_pagenavi(); ?> </div>just before <div id=”sidebar” class=”right”> in the index.php file.
Forum: Fixing WordPress
In reply to: veryplaintxt pages not workingOK…
And try to replace with this below (without “comments”) :
<?php if ( get_post_custom_values('comments') ) comments_template(); // Add a key/value of comments to load comments on a page ?>Forum: Fixing WordPress
In reply to: veryplaintxt pages not workingUmmmmm…
If think it miss a semicolon here just after “comments_template()”, try to replace the line 19 with this below :<?php if ( get_post_custom_values('comments') ) comments_template(); // Add a key/value of "comments" to load comments on a page ?>How long do you meet this error ?
Since you have installed this theme ?Forum: Fixing WordPress
In reply to: How To Add Page NumberHi,
All you need is :
<div class="navigation"> <?php wp_pagenavi(); ?> </div>If it may help you, here is my post that deals with WP-Page-Navi and its personalization.
http://www.riversatile.fr/2011/06/13/donnez-du-style-a-wp-pagenavi/To see demo, go here http://www.riversatile.fr at the bottom.
Forum: Fixing WordPress
In reply to: veryplaintxt pages not workingI think this it miss a ‘IF‘ statement or there is an extra ‘IF‘ statement somewhere. Or a missing semicolon.
Double check your file at line 19, then check before and after this line.
Forum: Fixing WordPress
In reply to: veryplaintxt pages not workingPlease upload your page.php file here http://uploading.com/ then provide us the link to download your page.php file.
Like that I will be able to see what’s wrong at line 19.
Forum: Fixing WordPress
In reply to: PDF FilesWhat do you want to do ?
Just display PDF icon with a link ?Forum: Fixing WordPress
In reply to: Display current post and the titles of the same category on the leftHi,
Here is the code you have to paste into your single.php file (you have to test it) :
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Forum: Fixing WordPress
In reply to: Feature content from another WP siteTo do this, I think you have to merge the both WordPress sites.
You can export the 1000 posts from the second WP site, then transform you first WP site in WORDPRESS MU mode, then import the 1000 posts.
That’s it ! But it’s very difficult, I know.
Forum: Fixing WordPress
In reply to: How to make transparent/semi opaqueHi,
As you can see in the source code of http://whalesincubicles.com/, there is transparent PNG file in the CSS for “wrapper” :
#wrapper { background: url(img/page-bg.png) no-repeat center top;Here is the image link :
http://s2.wp.com/wp-content/themes/pub/piano-black/img/page-bg.pngForum: Fixing WordPress
In reply to: Problems uploading imagesYou can check that using your web service provider.
Or by using FTP (like Filezilla) try to upload you files directly in a temporary folder, like that you should know if disk space is OK.