brightwash
Forum Replies Created
-
I just encountered this error for the first time as well. I had about 20 duplicate meta keys in the database for 2 post IDs. Using wp cli to delete the duplicates fixed it and we were able to update post again.
Forum: Fixing WordPress
In reply to: List Parent Page Title (and link) Above Subpage ListFor anyone else who may come across this problem …
There seem to be a ton of subpage plugins, all doing slightly different things. This one does exactly what I was looking for –
http://www.haytabay.de/development/wordpress/subpages/Forum: Fixing WordPress
In reply to: List Parent Page Title (and link) Above Subpage List<?php
if($post->post_parent)
$children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″); else
$children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
if ($children) { ?>
<h3><?php wp_list_pages(‘title_li=&include=’.$post->post_parent); ?></h3>-
<?php echo $children; ?>
<?php } ?>
This displays correctly on the subpages, but on the parent pages it lists all the top level pages? I’m sure I did something wrong!!
Forum: Fixing WordPress
In reply to: List Parent Page Title (and link) Above Subpage ListThank you for your help Michael,
I’m new to PHP, how do I format that?
Forum: Fixing WordPress
In reply to: List Parent Page Title (and link) Above Subpage ListI added that after
if($post->post_parent)
and before
$children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″); elseand it appears to break the whole thing.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] css for next prev navigation on gallery pageHi Bee,
I tried to alter the css and js files for prettyphoto and broke it – I must have missed something. Would it be possible for you to send me the altered prettyphoto files you’ve created? alicia.duffy[@]gmail.com