wp/wp-content/themes/IN-MOTION-package-u1/in-motion/index.php
author ymh <ymh.work@gmail.com>
Mon, 08 Sep 2025 19:44:41 +0200
changeset 23 417f20492bf7
parent 0 d970ebf37754
permissions -rwxr-xr-x
Update Docker configuration and plugin versions - Upgrade MariaDB from 10.6 to 11 with auto-upgrade support - Add WordPress debug environment variable to FPM container - Update PHP-FPM Dockerfile base image - Update Include Mastodon Feed plugin with bug fixes and improvements - Update Portfolio plugin (v2.58) with latest translations and demo data enhancements - Remove old README.md from Mastodon Feed plugin 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<?php get_header(); ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
			<div id="content" class="clearfix">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
			<?php menu(-1); ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
		<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  			if ( !function_exists( 'get_option_tree') ) {
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
				echo '<h1 style="color:white; background-color:#494a4a;">You need the Option Tree plugin installed for this theme!<br/>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
					You can get it here: <a href="http://wordpress.org/extend/plugins/option-tree/" target="_blank" class="ot-warning">Option tree</a></h1>';
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
			}
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
		?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
				
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
				<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
		
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
				<?php
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
					$title = $post->post_title;
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
    
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
				   $post_id = get_the_ID();
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
				    
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
				   $content = get_the_content();
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
				    
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
				   $pageTemplate=  get_post_meta($post_id , 'page_template' , true);
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
    
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
    				$shortDesc = get_post_meta($post_id , 'short_desc' , true);
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
    				
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
					echo '<div class="page-title" style="margin-top: 37px;">';
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
					echo '<h2 style="float:left; width:auto;">'.$title.'</h2>';
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
					if (!empty($shortDesc)) {
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
						echo 	'<span style="float: left; color: #fff; font-size: 15px; margin: 12px 0 0 20px; ">}</span><p style="float:left; width:auto; font-style: italic; color: #ffffff; margin: 16px 0 0 20px; color: #fff;">'.$shortDesc.'</p>';
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
					}		
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
					echo '</div>';
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
	
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
					?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
					<div class="entry">
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
						<?php the_content(); ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
					</div>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
				</div>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
			<?php endwhile; ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
			<?php include (TEMPLATEPATH . '/inc/nav.php' ); ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
			<?php else : ?>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
				<h2><?php _e('Not Found','pego_tr'); ?></h2>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
				<img src="<?php echo get_template_directory_uri(); ?>/images/404-img.png" />
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
			<?php endif; ?>	
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
		</div>
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
</div><!-- end container -->
d970ebf37754 first import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
<?php get_footer(); ?>