Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $queried_object = get_queried_object();
- var_dump( $queried_object );
- ?><?php
- /**
- * The template for displaying Archive pages.
- *
- * Learn more: http://codex.wordpress.org/Template_Hierarchy
- *
- * @package GeneratePress
- */
- // No direct access, please
- if ( ! defined( 'ABSPATH' ) ) exit;
- get_header(); ?>
- <section id="primary" <?php generate_content_class(); ?>>
- <main id="main" <?php generate_main_class(); ?>>
- <?php do_action('generate_before_main_content'); ?>
- <?php if ( have_posts() ) : ?>
- <?php /**** do_action( 'generate_archive_title' ); ****/ ?>
- <h1 class="entry-title" itemprop="headline"><?php single_tag_title(); ?> mining consultant in Western Australian</h1>
- <?php /* Start the Loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php generate_article_schema( 'CreativeWork' ); ?>>
- <div class="inside-article">
- <?php do_action( 'generate_before_content' ); ?>
- <header class="entry-header">
- <?php do_action( 'generate_before_entry_title' ); ?>
- <?php do_action( 'generate_after_entry_title' ); ?>
- </header><!-- .entry-header -->
- <?php do_action( 'generate_after_entry_header' ); ?>
- <?php if ( true == generate_show_excerpt() ) : ?>
- <div class="entry-summary" itemprop="text">
- <?php the_excerpt(); ?>
- </div><!-- .entry-summary -->
- <?php else : ?>
- <div class="entry-content" itemprop="text">
- <?php /*** the_content(); ***/ ?>
- <p><img class="wp-image-497 size-large aligncenter" src="https://globalthe.com/wp-content/uploads/2017/12/IGMS-mining-geological-engineering-5-1024x530.jpg" alt="<?php single_tag_title(); ?> mining consultant in Western Australian" height="530" width="1024">Integrated Geological Mining Services are <?php single_tag_title(); ?> mining consultants who provide integrated <a href="https://globalthe.com/mining-consultant/geological/">geological</a>, <a href="https://globalthe.com/mining-consultant/engineering/">engineering</a> and <a href="https://globalthe.com/mining-consultant/quality-health-safety-enviroment/">QHSE</a> services to the <?php single_tag_title(); ?> resource sector.</p>
- <p>Integrated Geological Mining Services work with an established network of industry leaders in <?php single_tag_title(); ?> mining to assist you all aspects of explorative <?php single_tag_title(); ?> mining operations that will take your project from discovery to delivery.</p>
- <p>Integrated Geological Mining Services are a passionate, tight knit and innovative consultancy with big capabilities. This culture ensures our client’s safely maximise the value and returns of their <?php single_tag_title(); ?> mining assets.</p>
- <?php
- $tags = get_tags(array(
- 'exclude' => get_queried_object_id(),
- ));
- foreach($tags as $tag)
- {
- echo '<a href="'.get_tag_link($tag->term_id);.'">'.$tag->name.'</a>';
- }
- ?>
- <?php /*** echo get_the_tag_list('<p>Other resources: ',', ','</p>'); ***/ ?>
- <?php
- wp_link_pages( array(
- 'before' => '<div class="page-links">' . __( 'Pages:', 'generatepress' ),
- 'after' => '</div>',
- ) );
- ?>
- </div><!-- .entry-content -->
- <?php endif; ?>
- <?php do_action( 'generate_after_entry_content' ); ?>
- <?php do_action( 'generate_after_content' ); ?>
- </div><!-- .inside-article -->
- </article><!-- #post-## -->
- <?php endwhile; ?>
- <?php generate_content_nav( 'nav-below' ); ?>
- <?php else : ?>
- <?php get_template_part( 'no-results', 'archive' ); ?>
- <?php endif; ?>
- <?php do_action('generate_after_main_content'); ?>
- </main><!-- #main -->
- </section><!-- #primary -->
- <?php
- do_action('generate_sidebars');
- get_footer();
Add Comment
Please, Sign In to add comment