Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter spiralwriter

    (@spiralwriter)

    Hi again!

    Never mind, I caught the problem. That worked like a charm the second time.

    Thank you SO much!
    Kari

    Thread Starter spiralwriter

    (@spiralwriter)

    Hi Nick,

    Thank you for the quick response!

    I would prefer the first version, especially since the plugin isn’t updated terribly often. 🙂 Unfortunately when I modified the file, I ended up with a parse error on the site. Just in case I have a strange version, I’ll copy the original text from my site below.

    Have a great weekend!
    Kari

    function genesis_author_pro_get_buttons( $post_id = ” ) {

    $buttons = array( ‘button_1’, ‘button_2’, ‘button_3’ );
    $values = array();

    foreach( $buttons as $button ){

    $uri = genesis_author_pro_get_book_meta( $button . ‘_uri’ , $post_id );
    $text = genesis_author_pro_get_book_meta( $button . ‘_text’, $post_id );

    if( empty( $uri ) || empty( $text ) ){
    continue;
    }

    $values[] = sprintf( ‘%s‘, $uri, $text );

    }

    return empty( $values ) ? false : implode( ”, $values );

    }

    Thread Starter spiralwriter

    (@spiralwriter)

    Hi Jeremy,

    Thank you for the link, tons of great information there! Who know one tiny post would let me learn so much?

    As far as the original post, I created it the same was I did all the others, by pasting the text from the old HTML site into the body. For the one I made yesterday that still does not function properly, I used the New Post button, then added the graphics.

    I made another just now to see if any new ones would work, and yes, it DOES have Related Posts at the bottom. I made it the same way as the others.

    The only difference is I started that post with a paragraph of text at the top, then saved it. I recreated everything one piece at a time, down to the post date and time, updating after each change to see if any element of the post broke the Related Posts. Now I’ve marked the two broken posts as Draft, and I have today’s new post on the site. And it is still working on two browsers and my phone. http://mountainpeeksmag.com/southwest-virginia-scenes/

    Even looking at the code, I can’t see any difference at all. You’re welcome to take a look if you want to. I guess as long as I know to keep an eye out for that, I’m fine. Still confused, but fine. 🙂

    Thread Starter spiralwriter

    (@spiralwriter)

    Hi Jeremy,

    All of that done, and the same post is the only one on the whole site that still doesn’t have the Related Posts. Even more strange? I built the site on a student project on a different host and server. I just went back to check how that one looks. Even without the graphics fully loaded, the SAME post is the only one with that feature missing.

    I also created a new post just now on the public site, and it has the same problem. http://mountainpeeksmag.com/southwest-virginia-scenes-new/
    What on earth???

    While we’re at it, is there a way to exclude posts from that feature? On purpose, I mean? 😉 I have a couple of terribly boring reference posts that show up on other posts. If not, no problem.

    Thank you!

    Thread Starter spiralwriter

    (@spiralwriter)

    Hi Jeremy,

    After installing the plugin, activating it, and reindexing, the one post still does not have Related Posts. So strange!

    The other photography post has no text at all, but it has the Related Posts. The other difference was the one remaining post was a Gallery post while the rest are Standard. I changed that just now and reindexed, still no Related Posts.

    It’s not a huge deal, just mystifying. Any other ideas?

    Thank you!

    Thread Starter spiralwriter

    (@spiralwriter)

    Hi Jeremy,

    The problem seemed intermittent yesterday after I posted, and today it’s down to only two posts out of 49 that don’t have the links for related articles.

    http://mountainpeeksmag.com/cafe-alona-international-cuisine-in-your-backyard/
    http://mountainpeeksmag.com/southwest-virginia-scenes/

    Can you please give me an idea of what drives those links? It doesn’t seem to be Tags, since those two posts have Tags in common with several others that are working. They also have Categories assigned.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)