How to sticky post on big silider?

Posted in: Newspaper
Post count: 38

Hello! I need to sticky some post, specially in the bigslide becouse i have it on sort “latest” and I want to show one featured article in the big image and use the small images to the latest… Is there a way to do that?

Post count: 3343

Hi,
A simple solution is to use tags, edit the big slider and chose latest from all categories and use a tag like sticky and add this tag on each post you want to be on the big slide. http://screencast.com/t/V07R7S0LQ

Thanks!

Post count: 38

But if I do that the slider will show only articles with “sticky” tag.

Rightnow, the latest article published will use the big image, and i want to choose the article I want for that space, without changing the published time…

Big image: featured article (published at 10:00am)

Small images: latest articles (example, one published at 10:25, other 11:00, and the last one 11:25)

I do not know if you understand me

Post count: 3343

Hi,
The solution above is the best one. On the big slider you will add only featured posts(manually using the sticky tag), why need + latest posts there?

Thanks for the message!

Post count: 38

Hi!
I use the big slider to show the latest updates on my web, and sometimes I want to keep an article so that will not go away for the new updates…

Post count: 26

I would like to have the same as mixvice wrote above

I use the big slider to show the latest updates on my web, and sometimes I want to keep an article so that will not go away for the new updates…

Post count: 38

I hope there is a solution for this, it can be very useful..

Post count: 3343

Hi,
You can enable sticky post from WordPress and mark a post as sticky will popup firstly. You need to change like here: http://screencast.com/t/e7yqFwCen

Post count: 38

Hi Marius!

Thank you for answer, I search in the forum and I find this:
https://forum.tagdiv.com/topic/enable-sticky-posts/

You mention a solution but then you say that solution “brake the block functionality when you use sorting category”.

I think a lot of users would appreciate a feature like this without modifying the code, anyway, ill try to change the line and see what happen.

Cheers!

Post count: 38

Hi again! Already change the code and it seems that everything works fine, the articles are only sticky on the slider – not on the category page – It’s perfect for me, and I think the unique system of articles help a lot.

If I find an error’ll let you know. Thank you.

Post count: 26

mixvice – may i ask you what exactly you changed?

Post count: 38

Hey @tomdouble !

http://screencast.com/t/e7yqFwCen

Here is what file and in what line you need to change the 1 to 0.

Post count: 26

thanks!

Post count: 3

Hi Guys,
I Chose the template: “Homepage – bg + with articles”.
I can’t get the post sticky in the Big slider.
The solutions above don’t work for me.
The Latest article posts below the big slide do show the sticky.
It would be great if I can select what image I want to show in the large panel of the Big slider. Any help is welcome.

Thx

Post count: 6600
Post count: 20

URGENT
I had the same need about sticky posts, so I changed to 0 this parameter

$wp_query_args = array(
    'ignore_sticky_posts' => 1
);

but now I get the following error on every single page
Fatal error: Access to undeclared static property: td_unique_posts::$show_only_unique in /htdocs/public/www/wp-content/themes/Newspaper/includes/wp_booster/td_data_source.php
and the site crashes!

Obviously I tried to set the parameter back to 1 but still getting the same error!!!
I also tried to change the “Unique articles” setting…nothing…

HEEEELP!
The site is unusable!!

Post count: 6600

Hi,

Replace the file content with this: http://pastebin.com/rfVw94RD or just replace the file by copying the initial file.
Let me know if this solves the problem.
Please also send your site’s URL.

Thanks

Post count: 20

Just like you said, I replaced the original file and it worked!
I don’t know why I was editing td_data_source.php file from an old version, in which the variable name was different… -_-

Thanks Lucian!

Post count: 6600

Glad you managed it.
Thanks for the message!

Viewing 19 posts - 1 through 19 (of 19 total)
You must be logged in to reply to this topic.