Site icon Hip-Hop Website Design and Development

Use web page template as an alternative of customized publish kind archive

I am utilizing a plugin that creates a tasks customized publish kind known as wm_projects.

I configured my archive-wm_projects.php template to point out the overview on /tasks/ and my single web page template, single-wm_projects.php, on URL /tasks/1st-project/.

Now I wish to use a WordPress web page that hundreds the archive-wm_projects.php template as a result of I wish to use the URL construction and the web page title (presently that is tasks archive), I additionally wish to add a picture there for my header.

Additionally, I am utilizing the Yoast website positioning plugin.

I’ve Been in search of a solution that matches my wants, however would not appear like anybody else needs to configure the positioning on this method.

[EDIT1]

Let me attempt to clarify it a bit extra. I am utilizing a childtheme, these information are listed in my childtheme

Tasks archive
The web page i would like the tasks to been exhibiting, that is utilizing the page-template-archive-wm_projects.php template

page-template-archive-wm_projects.php

<?php 
/**
 * Template Identify: Undertaking Archives
 */

require( locate_template( 'archive-wm_projects.php' ) );

exit();

archive-wm_projects.php

<?php get_header(); ?>

<?php // START if have posts ?>
<?php if ( have_posts() ) : ?>
    <div id="wrap">
        <div id="content material" position="foremost">
            <div class="container">
                <div class="row">
                    <?php whereas ( have_posts() ) : the_post(); ?>
                        <?php
                            get_template_part( 'portfolio_overview' );
                        ?>
                    <?php endwhile; ?>
                </div>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php get_footer(); ?>

portfolio_overview.php

<div class="col-sm-4">
    <div class="project-header">
        <?php $pageHeader = get_field('project_header'); ?>
        <img src="<?php echo $pageHeader['url']; ?>" alt="<?php echo $pageHeader['alt']; ?>" />
    </div>
    <header>
        <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
    </header>
    <div class="readMore">
        <a href="<?php get_permalink() ?>">Lees verder</a>
    </div>
</div>