Hi @serenikitty!
Correct – Argent turns the first gallery in your projects and turns them into a slider (see the theme homepage for more info).
You can disable that feature with a child theme.
Once your child theme is set up, make a copy of the parent theme’s content-portfolio-single.php
in your child theme folder.
We’re going to remove one bit of code, and then replace another one with something different. First, find this block:
<?php
if ( get_post_gallery() ) {
get_template_part( 'content', 'portfolio-gallery' );
}
?>
and remove it. That’s what produces the slideshow.
Next, look for this block. It’s what removes the original gallery from the post:
<?php
$content = get_the_content();
/**
* Get the gallery data from the post.
*/
$gallery_shortcode = argent_get_gallery();
/**
* Grab the first shortcode in post content, strip it out, and
* display the post content without the first gallery.
*/
if( $gallery_shortcode && is_array( $gallery_shortcode ) ) {
$content = str_replace( $gallery_shortcode[0][0], '', $content );
}
echo apply_filters( 'the_content', $content );
?>
Replace it with this:
<?php the_content(); ?>
Activate your child theme and you should be good to go!