Jonnie Grieve Digital Media: Blog

Home
by on 21st January, 2021 - 4:16pm (0)

Blog: R6D46: #100DaysOfCode (More Posts)

I now have 2 WordPress projects on the go, for my projects and WordPress subdomains with the latter being the WordPress theme Starter repository.

Early I wanted to try and a list of only 5 post titles and links to them without using a Widget area to do it, which was much more difficult than I was expecting it to be.

I tried to get it done with WP Query but instead opted for an alternative, per the developer site at WordPress.

get_posts()

Eventually, the code was customised as a solution that used 2 parameters passed into get_posts().

It was also good to get into practice using archive methods and templates that I was able to set up. Which I’m looking forward to applying back into this blog as I look to dial down the bugs.

 

 

This post has been assigned to the following categories

    Leave a Reply

    Your email address will not be published. Required fields are marked *