Displaying large list of Laws in WordPress from postgres

[ad_1]

I have a postgres database with a very large list of laws ad I need to display them on a wordpress site.

I am pretty new at this so I expect I may have some incorrect info or steps out of order.

It makes sense to me to start from posts and work down…e.g. add each law as a post. But there are thousands of them and I already have them in postgres so I need to work from the database backwards.

Is this the gist of what I need to do:
\-create a custom post type for the laws
\-import postgres (laws) in to the wp database
\-create a new custom page
\-on the custom page use wp\_query to loop through the custom post type (laws) and display them

Next steps:
I am taking small bites at this so I want to understand just displaying the laws, first. Next steps will be a better way to drill down into the laws (I don’t want to paginate 1000 laws)

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer