feat: iqon.com full backup and design audit
- Server backup: PHP source files, theme assets, fonts, images, wp-config.php (masked), .htaccess, sitemaps, manifest - Design audit: comparison with Open Design systems (Corporate, Clean, Modern, Bold), critical issues, SEO problems, 3-phase change plan, new_redesign analysis - All files downloaded from production server via Code Snippets Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: HOMEPAGE
|
||||
*/
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
<?php
|
||||
wp_reset_query();
|
||||
$args = array( 'posts_per_page' => 1, 'cat' => 1, 'post_type' => 'post', 'post_status' => 'publish' );
|
||||
$latest_case = query_posts($args);
|
||||
//dv($latest_case);
|
||||
if ($latest_case[0]) {
|
||||
$h2 = get_post_meta($latest_case[0]->ID, 'wpcf-intro', true);
|
||||
$id_featured = 0;
|
||||
if (has_post_thumbnail($latest_case[0]->ID)) {
|
||||
$id_featured = get_post_thumbnail_id($latest_case[0]->ID);
|
||||
$imagine_featured = wp_get_attachment_image_src($id_featured, 'post-thumbnail');
|
||||
}
|
||||
?>
|
||||
<h1><a href="<?=get_permalink($latest_case[0]->ID); ?>"><?=$latest_case[0]->post_title;?></a></h1>
|
||||
<?php if ($h2) { ?><h2><?=$h2?></h2><?php } ?>
|
||||
<?php if ($id_featured && $imagine_featured[0]) { ?>
|
||||
<div class="contentleft">
|
||||
<div class="container_imagine">
|
||||
<a href="<?=get_permalink($latest_case[0]->ID); ?>"><img src="<?=$imagine_featured[0];?>" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentright">
|
||||
<?php } ?>
|
||||
<?php echo apply_filters('the_content',short_text($latest_case[0]->post_content, 700));?>
|
||||
<?php if ($id_featured && $imagine_featured[0]) { ?></div><?php } ?>
|
||||
<?php }
|
||||
wp_reset_query();
|
||||
?>
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user