Create a new template in your theme named archive-encyclopedia.php
.
In your theme folder, copy the archive.php
or index.php
and name it archive-encyclopedia.php
. Now you can make your custom changes to the new template.
This template will be called instead of the default archive template as archive-{post-type}.php
will be used before archive.php
or index.php
.
Related Posts:
- creating custom archive template within plugin for custom post type using archive_template filter
- Looking for WordPress System Diagrams
- How can I load a page template from a plugin?
- Overwrite theme file from plugin
- How to control output of custom post type without modifying theme?
- Loading custom page template via plugin
- When is it appropriate to put functions on page template vs. functions.php?
- Filter to change the content of 404 page
- How to properly use a hook to create template for custom product type in a plugin such as Woocommerce? [closed]
- How to check active theme is parent or child wordpress
- WordPress removing data attributes for scheduled post
- Is there a way to loop through a shortcode datasource to create a table?
- Where to call wp_enqueue_script in a plugin with custom template?
- Can Page Templates be Applied to Archive and Post Templates?
- ORDER BY wp_post custom column name in wp_query
- Create a free scripts and styles template within a plugin
- How can I turn a custom wordpress page into a product page?
- Plugin templates vs Parent Theme
- How to make “upgrade safe” theme for a plugin?
- What action hook can I use to add a JavaScript to a page post using a theme template that is not including get_header() nor get_footer()?
- How to create templates for a custom module to show on the front end within my theme?
- Why aren’t some plugin styles loading when I load a template?
- Plugin custom post template; without overriding all posts
- Best way to distribute templates and code accross multiple wordpress sites?
- Load php file with jquery in single.php
- How to create archive page to add in menu
- Overriding the template files using a plugin for all themes
- How do I use a plugin to swap out the template file for a custom post type?
- Javascript not being loaded only in custom taxonomy template
- Add new header/footer on landing page with plugin
- Use a page as a template for a custom post type
- How to display archive by selecting year and then selecting month
- Page template compatibility with different themes
- How to set custom homepage via a plugin
- Template file structure , wordpress hook for altering the template
- Displaying External Data – Not Posts
- Making plugin output customizable
- How to display custom taxonomy and terms using/creating plugin template
- How to check during “pre_get_posts” if WP performing default query for specific custom template?
- WP Job Manager – Show recent jobs as cards
- Help interpreting @wordpress/create-block-tutorial-template usage error
- ‘global’ not working when passing variable from plugin file to template
- get_template_parts() usage
- Rewriting Image URLs from dynamic to original
- Getting posts by taxonomy
- WordPress templating system for custom plugins
- Lead form that submits to 2 external APIs
- Creating open content area and restricted content area
- How do I duplicate a single post, with all its properties, and save it as a different post?
- Remove Meta-boxes (Yoast SEO plugin) [duplicate]
- Can I use a custom post type as a custom taxonomy for a different custom post type?
- WooCommerce currency converter support [closed]
- Woocommerce – looping product images
- How Can I Add Code To A Preexisting Function Without Editing it
- JQuery Slider – Similar to www.internetmarketinginc.com [closed]
- Changing permalink structure breaks link to .php file which generates files dynamically
- Is there an action_filter hook to add content before the post title?
- CSS not being applied using wp_enqueue_style
- wp_enqueue_scripts in a plugin’s class
- Is there a way to add a link with add_post_meta?
- Proper way to create an administration page without adding it to the menu
- WordPress Plugin Authoring question about jquery and css
- How to output CSS to the beginning of the stylesheet in a WordPress Plugin
- How to move an image in a plugin to the upload directory and make it as a media of wordpress?
- Adding Permalink to Slides with ‘Simple Nivo Slider’ plugin?
- Loading Images from Javascript on the Front End
- How to add a new taxonomy link to the admin menu
- Many Single Sites, One Plugin directory – adjust plugins_url()
- insufficient permissions; coding an action for plugin governed by custom capability
- wp_insert_post generated mixed permalinks
- Adjust query on single
- How to call function from another plugin?
- Get coordinates of selected area to use in image maps [closed]
- Plugin won’t activate
- Adding tables to dashboard pages programmatically?
- dbdelta failing with error: “WordPress database error Table ‘wp_2_myPlugin’ already exists
- How to exclude categories from get_categories() select list inside a widget admin panel
- Setting a post’s category
- Plugin access to average users not only admin
- Setting post_id for single.php based on URL without a redirect
- Why doesn’t update_post_meta work for certain strings?
- WP 3.3 makes it possible to add meta box to Category Editor Screen?
- How to automatically activate a plugin on install
- disable defaault wordpress comments from a plugin
- using admin functions on frontend
- Widget internal hooks and functions
- Javascript Function Called Too Early in PHP Script
- Pause plugin option page until all data manipulation is complete
- How to display TinyMCE HTML view?
- WordPress plugin advice: suggestions for writing a plugin the correct way
- WordPress database error: [Query was empty] – using $wpdb->prepare()
- Why doesn’t my Table get created?
- Modify code for functions.php with specific twitter user url and hashtags
- Need Help Determining Where Header Error is Happening
- How to link to custom “archive like” page with custom permalink rules “dynamically”
- can members have multiple registration using the same password?
- Extract Information from post content (using regex?)
- Using jQuery prepend() with file include
- post content and shortcode content displaying out of order
- rewrite_rules problem