Page 1 of 1

PHP pulling in and displaying URL

Posted: Mon Nov 30, 2009 4:02 am
by longwolf3
I'm new to this lark, but have recently set up a new website using Word Press.

On my site homepage http://www.myhdpackage.com, there's a slideshow at the top of the page is which is displaying the page URL in the entry summary for the featured articles.

Anyone know how I can remove this? I presume it's something to do with this line of PHP, but I have no idea how to fix it.

Code: Select all

<?php echo arras_strip_content(get_the_excerpt(), 20); ?>
Does anyone, with more intelligence than me have an inkling on how to fix this?

Thank you very much in advance
Nick

Re: PHP pulling in and displaying URL

Posted: Tue Dec 01, 2009 7:29 am
by mjdigital
OK - it looks like you are using the Arras theme for WordPress - the line of code you posted gets the excerpt from each blog post, if this is not used then it will default to the URL data. Have you made sure you specified an excerpt for each post - there should be a box under the main post content?

If you have filled in the excerpts then what version of Arras are you using?

MJ

Re: PHP pulling in and displaying URL

Posted: Wed Dec 02, 2009 5:30 am
by longwolf3
Hi MJ,

Thanks for the response, much appreciated. I've tried specifying and not specifying an excerpt with similar results.

If I specify an excerpt then it only pulls one URL. If I don't then it pulls two URLs. There are examples of both on the homepage.

I'm on Arras version 1.3.6

Nick

Re: PHP pulling in and displaying URL

Posted: Wed Dec 02, 2009 6:10 am
by mjdigital
OK - can you try something for me? It looks like it is putting your twitter count/retweet function in the same space as the excerpt - can you disable the plugin and see if it makes a difference?

Let me know if it does or not.

MJ

Re: PHP pulling in and displaying URL

Posted: Wed Dec 02, 2009 7:11 am
by longwolf3
Genius, that fixed it. Thanks very much.

I presume the theme and retweet button are in conflict with one another then. I'll have to leave this disable, I presume.

Nick

Re: PHP pulling in and displaying URL

Posted: Wed Dec 02, 2009 7:23 am
by mjdigital
Excellent - glad it works now. You could always try a different plugin that allows you to share - there are loads about.