Add new page "Kariera"

This commit is contained in:
Roman Pyrih
2025-11-25 14:46:38 +01:00
parent cae1d0554e
commit 39447cda3e
7 changed files with 4487 additions and 3637 deletions

View File

@@ -7,12 +7,22 @@
* @package BRPP_prawo_podatki
*/
$post_type = get_post_type();
$blog_page_id = 74;
$kariera_page_id = 378;
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"/>