• Resolved endo369

    (@endo369)


    How can we modify the existing “latest news/posts’ slider that is directly below the nav menu and tag area.

    Currently the slider retrieves post data from wordpress categories. I want to modify this code so that it shows my latest posts from my forums instead (I have an API set up that will work once I can find out where the parent files of this slider are)

    thank you

Viewing 1 replies (of 1 total)
  • Thread Starter endo369

    (@endo369)

    For anyone else looking for this information to modify that specific widget functions I was able to figure it out.

    The actual latest news slider widget sits in the parent theme (newsup) folder in:
    newsup > inc > ansar > widget

    however, you do not need to break the integrity of these files because the theme creator used hooks to extend certain functions for this widget. The location for the hook file is in:
    newsup > inc > ansar > hooks > hooks.php
    The slider code starts at the second function.

    I was able to completely modify this code to display my custom data using the theme’s slider.

Viewing 1 replies (of 1 total)
  • The topic ‘Modify Latest News/Post Slider below nav menu’ is closed to new replies.