New Landing How can we help? Themeforest Theme Support Supreme I need to Random Post Widget

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Supreme
  • #106585
    lead
    Member
    Post count: 18

    I need to random post widget should be similar to lastest post widget.

    #106623
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You would have to find a plugin for that

    – Kyle

    #106629
    lead
    Member
    Post count: 18

    no proglem. please help.

    #106631
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m afraid we are here to support theme issues, not help people search for plugins. Sorry

    – Kyle

    #106640
    lead
    Member
    Post count: 18
    #106642
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    What happened to the widget that Laranz added for you?

    – Kyle

    #106644
    lead
    Member
    Post count: 18

    yes, he is added random post widget. But dont teach me. Now i need your help.

    #106665
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I will forward this to Laranz so he can redo it for you

    – Kyle

    #106784
    lead
    Member
    Post count: 18

    thank you so much ๐Ÿ™‚

    #106789
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem, he will assist you shortly

    #106872
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You can copy past the latest widget code and change appropriate widget name to Random Widget.

    That latest widget code is in includes\widgets\widget-posts.php, copy the code and create a new file in that folder itself called widget-random.php in the newly created file paste the code, and alter the WP_Query. give a ordeby value of rand.

    and also change these names “init_sf_recent_posts” ( found 2 times ) and this Custom Recent Posts it’s the name of the new widget, so call it as Custom Random Posts.

    Hope this teaches you.

    Thanks,
    laranz.

    #106891
    lead
    Member
    Post count: 18

    easy boy. you didn’t say it to me .I took care

    Attachments:
    You must be logged in to view attached files.
    #106896
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Sorry, I forget a step.

    Awesome ๐Ÿ™‚ So all runs smooth now??

    Let us know,

    Thanks,
    laranz.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register