ralexander
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: YARPP problems – Fatal error: Call to undefined function yarpp_sql()A quick update – i have installed an older version of YARPP and the error disappeared (and the sidebar and background returned which was another symptom of the problem) so it is definitely something to do with an update in the plug-in – although i can see nothing in the change logs to suggest what that change might be!
Hmm the plot thickens…..
Forum: Fixing WordPress
In reply to: What happened!? Sidebar & background disappeared – no reason??Hi Alchymyth, thanks for trying to help me again – to be clear i do not want to have to delete all the template code relating to YARPP and remove that functionality from my blog – i was experimenting above to try and find the cause of the issue.
To delete all the YARPP code at this point would be kind of like chopping of a whole arm because one of your fingers isn’t working (that was a strange analogy, not sure where that came from!)
Forum: Fixing WordPress
In reply to: What happened!? Sidebar & background disappeared – no reason??Ok so it turns out that it is YARPP causing this problem.
It’s weird because i disabled the plug-in and still no sidebar or back ground. Yet when i deleted this chunk of code from single.php:
<h2>Related Posts</h2> <div class="clr"></div> <?php $results = $wpdb->get_results(yarpp_sql(array('post'),array())); foreach ( (array) $results as $_post ) : $_post = get_post($_post->ID); ?> <div class="th fl"><a href="<?php echo get_permalink($_post->ID); ?>"><img src="<?php echo get_post_meta($_post->ID, 'post-img', true); ?>" alt="" /></a></div> <div><a href="<?php echo get_permalink($_post->ID); ?>"><?php echo $_post->post_title; ?></a></div> <div class="hlr"></div> <?php endforeach; ?> </div>
The sidebar and background appeared again but side bar now appears in the center column under the post?
Forum: Fixing WordPress
In reply to: What happened!? Sidebar & background disappeared – no reason??Hi alchymyth – thanks for replying.
The YARPP problem is unrelated and as i understand it and recently stopped working following the update to that plug-in (the theme author should not have called ‘yarpp_sql’ directly but rather ‘related_posts()’ which is causing the error.
Back on topic if anyone else can assist with the sidebar/ background problem please!? Would massively appreciate it
Thanks for your reply rev.
Forum: Fixing WordPress
In reply to: Beginners question about the ('template_url') tag…Yikes – a child theme huh!?
I guess the chances are if i don’t know what it is i’m not making one but i will google and find out what that is.Thanks For your answer Codepretty that has really help me out – so much to learn!
Forum: Fixing WordPress
In reply to: All my post content is appearing as excerpt!? Can anyone help?Thanks so much for giving me that tip Fish!
So i tried it and now on the front page it gives me the content instead of an excerpt. So that works ??
The problem is that when i click on ‘read more’ the content is again limited to 55 words with no formatting – so it goes back to being an excerpt!?
I can feel we are getting close though!!