How to create sticky articles

Posted in: Newspaper
Post count: 31

Hello , I want to make in the front page some articles to stick in there like in the images below. Anyone can help me out ??

from this — [Imgur](http://i.imgur.com/KcDInPY.png)

to something like this one — [Imgur](http://i.imgur.com/0FmpBH1.png)

Thanks

  • This topic was modified 10 years by koliman.
  • This topic was modified 10 years by koliman.
Post count: 31

I hope you understant what i need. If you did not please comment below so I can fix this “problem” 🙂

  • This reply was modified 10 years by koliman.
Post count: 22421

Hello,
I do not quite understand your request. You can use another big grid if you want more articles displayed: http://demo.tagdiv.com/newspaper/big-grid-6/
If you want them to overlap like in your image, there is no option for it.
If this is not what you mean, please provide more details so i can understand better.
Thank you!

Post count: 31

Yeah something like this but I want it at my homepage. The idea is to display some very good article all the time at the front page and the article will stay there as I update with new articles. Thanks very much for your help if you solve my problem I will be greatfull 🙂
Take care.

Post count: 22421

Hello,
You can use different grids to do that. If you want ‘sticky articles’ you can add a big grid to your homepage. something like http://demo.tagdiv.com/newspaper/big-grid-5/ and select the articles you want in it: You can use the post id filter (version 6.6 and up): http://screencast.com/t/uriftQiPlZ yopu can get post id’s from here: http://screencast.com/t/Lpi8KhiNhDK then you can add id’s in the id box from block settings like for example 123,135,136 and now only those particular id’s will be displayed.
Then you can use another big grid underneath with normal sorting and your problem is done. Make sure to check this option to not have doubles on your homepage: http://screencast.com/t/mMjqMMx7K1E
I hope this helps
Thank you!

Post count: 31

Very helpfull but how I can update it to 6.6 version ? Cause I cant get the post id filter.
Super usefull thanks a lot !!

Post count: 23312

Hello koliman,

If you want to have this option, please try to update your theme to the new version. Always make a full backup of your current installation – https://codex.wordpress.org/WordPress_Backups and then do a clean update, meaning that we recommend that you delete the old version of the theme before uploading the new one – https://forum.tagdiv.com/how-to-update-the-theme-2/ update also the plugins that come with the theme files from the /plugins folder. In the “how to update” guide is specified that you will have to run the script that will import from database your settings.

Thank you for the message!

Post count: 3

We are using Newspaper 6.5.1 and would like to place sticky pages at the top of the Hompeage (Grid 4). We assigned tag_slugs to each page but the pages are sorted by Title (A-Z) and we would like to sort by tag_slug (homepage1,homepage2,homepage3,homepage4).

On line 124 of td_data_source.php we changed the code:

from

case ‘alphabetical_order’:
$wp_query_args[‘orderby’] = ‘title’;
$wp_query_args[‘order’] = ‘ASC’;
break;
to

case ‘alphabetical_order’:
$wp_query_args[‘orderby’] = ‘tag_slug’;
$wp_query_args[‘order’] = ‘ASC’;
break;

But this didn’t work. Any ideas?

Thanks so much for creating an awesome WP Theme.

David

Post count: 22421

Hello,

Please update your theme to the latest version as from version 6.6 and up, the post id filter was implemented so you can select which post to display in your grid. This option also works for pages so you can filter the grid by page id and only display the pages you chose http://screencast.com/t/1Ed5whAmORx. Please follow this guide to update your theme: https://forum.tagdiv.com/how-to-update-the-theme-2/

Thank you!

Post count: 31

Thanks I will give it a shot tommorow morning and I will update this thread.! Thanks again!

Post count: 31

Thanks a lot the update worked , with no need to use my backup file!!
Thanks you very much!

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.