• I am new to wordpress development and wish to convert my joomla newspaper site to wordpress driven. I have created a widget areas for different section of my home page. My problem now is what code should I add to list category items content to display image, title page and intro text in my home page widget. Take a look at the home page of the [ redundant link removed ]. I have created widget just like that.

    • This topic was modified 4 years, 11 months ago by Steven Stern (sterndata).
    • This topic was modified 4 years, 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    Your currently used wp-theme theme could not be found in the www.ads-software.com/themes/ directory as far as I can see.

    If this was a custom theme, you may have to go back to your developer team and ask them to make the necessary change(s) to the theme.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    There are a number of “newspaper” themes available

    https://www.ads-software.com/themes/search/newspaper/

    Thread Starter shaibustephen

    (@shaibustephen)

    I am developing my own newspaper theme from scratch. What code should i add to bring about this?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Sorry, that’s a bit too broad. If you have questions about specific functions in the WordPress API, we can help. We really can’t help you write a theme from scratch, other than to point you to https://developer.www.ads-software.com.

    Thread Starter shaibustephen

    (@shaibustephen)

    Ok. How do i create a posts widget that outputs posts based on a categories selection ( category checkboxes of all the post categories )

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What I’ve done in the past is to find plugins that do more or less what I want, download them, and study the code. That often enough gives me a good direction and a bit of encouragement. After a while, you’ll come to know a lot of the API calls like “get_categories()”, etc. I think the trick to making this work for a newspaper theme is to use a lot of Ajax so you can dynamically re-popuplate the home page based on the selection rather than jumping off to new pages, sort of like the “Woof” plugin works for WooCommerce or the “filter posts” plugin.

    Don’t reinvent wheels; stand on the shoulders of giants.

    Thread Starter shaibustephen

    (@shaibustephen)

    I came to understanding that some theme has an inbuilt widgets that does this. Can you give me direction on how to create the widget? What wordpress template tag list funtions that should form my guide.

    Moderator t-p

    (@t-p)

    We have the Theme Handbook: Theme Handbook.

    Hope it helps you in developing your theme.

    Also there numbers of theme tutorials on the internet. For example:
    The ThemeShaper WordPress Theme Tutorial

    Thread Starter shaibustephen

    (@shaibustephen)

    Ok. Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How do i create newspaper like home page’ is closed to new replies.