If you want to do it the “WordPress-way”, you would create a custom post-type for books called “book” ( For this take a look at https://codex.wordpress.org/Function_Reference/register_post_type ). Then you would create an archive page for that post-type called “archive-book.php”.
I hope this helps a little bit. If you need more help, let me know.
Related Posts:
- Need to edit author permissions | custom taxonomy
- Widgets are not displaying in the admin panel
- Elementor pro page editing gives error There has been a critical error on this website. Please check your site admin email inbox for instructions
- How can I display selected content from a seperate database in an Activity style widget?
- Adding category base to url in custom post giving 404?
- Can I add Short Code Of A Plugin In The Code Editor of WordPress?
- Display posts by alphabetical order
- How to fetch WordPress database values in JavaScript widget
- Adding custom post category to categories widget
- RSS Feed on WordPress showing code (hypertext) in articles titles
- Change language in SiteOrigin Widgets
- elementor development – custom widget like an inner section widget
- Rewrite/Change custom taxonomy slug
- Update widget values from ajax function
- Custom Taxonomy is Missing (Or Limiting) Items
- The styles in the recent posts widgets plugin not working
- Some Widgets in the Right Side Bar and the whole Footer section is not working in a WordPress Site
- What is the right way to populate a dropdown from MySql?
- Cannot view Custom Post Type no matter what I try
- Using foreach loop for `$instance` of form and update array widget iteration
- How to disable a widget area of a specific page?
- One time call to external API in widget
- Change WordPress plugin widget `id_base` without breaking widget
- Co-author plus: list of posts by authors in the sidebar
- How to create meta fields with more than 1 relation?
- Only return taxonomies that are linked to a category & product
- Shortcode generated widget to appear on same line as heading text and button
- Why is my custom taxonomy image not displaying?
- How do I keep children of certain parent menus expanded by default on a sidebar?
- Show custom taxonomy in theme
- Taxonomy question
- Taxonomy Category Icon on index page
- Widget display in theme
- Get only selected custom taxonomy
- Registered sidebar area is not shown from plugin.
- Widget logic using woocommerce product category
- Custom content per post in widget
- Using slightly modified widget
- Hook on widget context plugin to add custom context for widget
- How to display widget in front end?
- Widget outputs the value but doesn’t save anything inside the textarea
- How to add styling and script to a custom widget plugin
- WordPress Widget: Is it possible to make the form dynamic without updating?
- Using Widget Logic to place menu on multiple pages?
- How to make wp multisite subdomain exist search
- Get custom term link archive with prefix
- Customize a widget position
- Custom Widget not Available after Plugin Installation
- Adding link on title its in description but not in title see screenshots attached
- Plugin Works, but Widget Doesn’t
- Add “selected” class to custom taxonomy dropdown search
- Widget Script Loads at Bottom of Page
- Show widget location borders for development
- Cannot access variables within a widget
- How know the “admin” blog from wordpress multisite?
- twitter widget loads properly in all themes except my own theme?
- “Tree view” for wp_dropdown_categories() markup
- How can I retrieve data within my widget
- Save selectlist value (taxonomy) in wp:wp_set_object_terms
- Is saving multiple options or saving multiple items in one option better?
- adding image in the header of my dev widget
- Show similar category portfolio items?
- CPT-onomies CPT_TAXONOMY->get_terms extremely slow with 6K posts
- Use of apply_filter in plugin/widget class
- jquery conflict with widget page
- Plugin: Unable to Save the Image Alignment Option to Display in the Widget in the Sidebar
- Template from scratch: Sidebars not showing widget
- How to get certain part from widget
- conditional tags for the output of a plugin
- What method should I use for a sidebar widget that reads latest posts?
- Widget redirecting to home page
- Plugin won’t activate, fatal error (widget class not found)
- How can I add the custom taxonomy categories to the posts and pages?
- WordPress plugin not eching popular posts
- Is there a way to add a custom input field for every taxonomy term in WP post editor?
- Award points if a specific custom taxonomy is selected – Cubepoints
- pre-upload text and video for the future
- Trying to output a “Most visited blogs” list in wordpress multisite
- How to use template field in the Event Organiser plugin widget
- Last article Widget with text preview and more button
- Scrolling Ads? Live scrolling widget, not random on refresh
- How to list the categories by custom taxonomy created?
- How to develop an extension for a simple form post and post back? [closed]
- How to add homepage Widget?
- Content expands beyond its column container [closed]
- Am having issues intergrating this api into my wordpress site, any help please?
- Issue with customizer and widget page
- Footer option is missing in Customiser
- Failed to update a post when I add a taxonomy to it
- How can I add a zip code service availability checker in WordPress without Woocommerce? [closed]
- Use custom Javascript for a custom Elementor Widget [closed]
- Why my widget is not visible in the WordPress theme Twenty Twenty-Three
- Create a custom taxonomy’s term form
- Hide attributes based on previous selection
- How do I know if an archive correspond to a custom post type taxonomy?
- How to Display News in a Timeline with Headline, Category, and Time?
- Custom Dynamic Tag in Elementor not showing image
- WordPress child theme widget customization – Eduma
- Query Custom Post Types on Available Dates
- Elementor: Exclude product categories when using “Source: Current Query”