Add "Kariera" page

This commit is contained in:
Roman Pyrih
2025-11-25 14:16:12 +01:00
parent 8ca1981723
commit 91c1307998
8 changed files with 1440 additions and 2 deletions

View File

@@ -7,12 +7,22 @@
* @package BRPP_prawo_podatki
*/
$post_type = get_post_type();
$blog_page_id = 27;
$kariera_page_id = 473;
if ( $post_type === 'kariera' ) {
$back_url = get_permalink( $kariera_page_id );
} else {
$back_url = get_permalink( $blog_page_id );
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="row">
<div class="col col-1">
<a class="btn_1 btn-back-page" href="/blog-brpp">
<a class="btn_1 btn-back-page" href="<?php echo esc_url( $back_url ); ?>">
<svg width="46" height="14" viewBox="0 0 46 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M46 7L1 7" stroke="#9E9E9E"/>
<path d="M7 1L1 7L7 13" stroke="#9E9E9E"/>