Hello there,
In order to remove the featured images and post infos on single project page, please try to do the following steps:
1. Copy the content-single.php file from parent theme’s folder to child theme’s
2. Replace the following code block
<?php if ( has_post_thumbnail() && ( get_theme_mod( 'post_feat_image' ) != 1 ) ) : ?>
<div class="entry-thumb">
<?php the_post_thumbnail('sydney-large-thumb'); ?>
</div>
<?php endif; ?>
with
<?php if ( has_post_thumbnail() && ( get_theme_mod( 'post_feat_image' ) != 1 ) && !is_singular('projects') ) : ?>
<div class="entry-thumb">
<?php the_post_thumbnail('sydney-large-thumb'); ?>
</div>
<?php endif; ?>
3. Replace the following code block
<?php if (get_theme_mod('hide_meta_single') != 1 ) : ?>
<div class="meta-post">
<?php sydney_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
with
<?php if (get_theme_mod('hide_meta_single') != 1 && !is_singular('projects') ) : ?>
<div class="meta-post">
<?php sydney_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
Is there a way to translate “projects” in url ? (Translate to french)
What plugin are you using? Sydney Toolbox or Toolset Types?
Regards,
Kharis
I use Sydney Toolbox !
Thanks my first issue is solved.
Elodie
Dear Elodie,
Is there a way to translate “projects” in url ? (Translate to french)
Try to add the following functions into the child theme’s functions.php file.
add_filter('sydney_projects_rewrite_slug', 'sydney_child_projects_slug');
function sydney_child_projects_slug(){
return 'project_custom_slug';
}
add_action('init', 'sydney_child_flush_rules');
function sydney_child_flush_rules(){
flush_rewrite_rules();
}
Replace project_custom_slug to your own.
If you haven’t been running a child theme yet, you can download it here.
Regards,
Kharis