Topic: Solved the repeating of Featured Posts in Latest Posts

A problem a lot of people have, and a friend of mine was able to solve it while butchering this theme for his own devices..

Its dead easy and just requires 1 line of code to be added, and tbh i cba to post it but your more than welcome to:
line 80 of home.php, add a line after it, and insert

'offset' => N,

Set N to the number of featured posts you have.
Quotations and comma must be included.

I'm no expert, but I think it's safe to say that this will only work if you haven't set your Features Posts to a specific category.
He's put it into use on my blog ( www.k-jessop.co.uk ) and my value is set to 6 to offset my 6 featured posts.

Hope this helps people.

Last edited by kouri01 (2010-04-20 10:41:38)

Thumbs up

2

Re: Solved the repeating of Featured Posts in Latest Posts

Move to guides. I might make the various elements offset correctly if the categories are selected in the future. smile

Re: Solved the repeating of Featured Posts in Latest Posts

Line numbers change from version to version - this tip no longer works with the latest 1.4.3.1 and I'm not sure how to change it now.

it would help if you could please include the entire block of code from home.php both before and after adding that line - to indicate where and how it needs to be added.

Thanks!

Thumbs up

4

Re: Solved the repeating of Featured Posts in Latest Posts

1.4.3.1 already has offset on by default.

Re: Solved the repeating of Featured Posts in Latest Posts

zy wrote:

1.4.3.1 already has offset on by default.

Wonderful - Thanks!!

Thumbs up

Re: Solved the repeating of Featured Posts in Latest Posts

Hey, I ve a small question concerning the repeating of the Featured post in latest post. I kind of liked that. I have the latest update, and since then it doesnt repeat anymore. How do I get the repeat function back?

Editing line 80 of home.php? How?

Thumbs up

Re: Solved the repeating of Featured Posts in Latest Posts

i upgraded to 1.4.3.1 from 1.4.2 and it shows only 2 featured posts when i choose 'all categories'. And no "Latest Headlines" posts! ! !

if i pick only one category it brings the correct number of posts, from this category,  i have specified on theme's configuration page.

this is very strange and stops me from upgrading on real website...

Do you know what may be wrong? Do i have to start "digging" on home.php???

Last edited by giannis (2010-07-18 13:43:57)

Photos from Greece at www.travelphoto.gr

Re: Solved the repeating of Featured Posts in Latest Posts

giannis wrote:

i upgraded to 1.4.3.1 from 1.4.2 and it shows only 2 featured posts when i choose 'all categories'. And no "Latest Headlines" posts! ! !

http://www.arrastheme.com/forums/topic1 … ffset.html

My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Solved the repeating of Featured Posts in Latest Posts

zy wrote:

1.4.3.1 already has offset on by default.

Hi guys! I have Arras 1.4.3.1 and my featured posts are being repeated in my latest post... I don't want this repetition, and have no idea how to fix this, as it's not supposed to be happening with my version... or am I confused... Could you help me please?

http://telechargement-mobile.net/

Thanks!

Thumbs up

Re: Solved the repeating of Featured Posts in Latest Posts

Duplicate Files Deleter is a powerful tool to find and resolve

duplicate photos, documents, spreadsheets, MP3's, and more! Removing

duplicates will also help to speed up indexing and reduces back up

size and time. Your computer isn’t fully optimized until you’ve

removed all unnecessary duplicate files. Let Duplicate Files Deleter

remove the duplicates!



http://www.duplicateFilesDeleter.com

Thumbs up

Re: Solved the repeating of Featured Posts in Latest Posts

Studies show that just over half of motorcycle accidents each year are multiple-vehicle crashes, and just under half of the accidents are single-motorcycle accidents. In 30 to 50 percent of all st Louis accidents in which the other driver is at fault, the other vehicle infringed upon the motorcyclist right of way, with the majority of the cases being that the other vehicle made a left turn in front of the motorcycle.

Thumbs up

Re: Solved the repeating of Featured Posts in Latest Posts

kouri01 wrote:

A problem a lot of people have, and a friend of mine was able to solve it while butchering this theme for his own devices..

Its dead easy and just requires 1 line of code to be added, and tbh i cba to post it but your more than welcome to:
line 80 of home.php, add a line after it, and insert

'offset' => N,

Set N to the number of featured posts you have.
Quotations and comma must be included.

I'm no expert, but I think it's safe to say that this will only work if you haven't set your Features Posts to a specific category.
He's put it into use on my blog ( www.k-jessop.co.uk ) and my value is set to 6 to offset my 6 featured posts.

Hope this helps people.

Well, I guess I have to agree with you. I hope the dev do something about this....keep it up.

Thumbs up