You need to do the following in a child theme, do not make changes to the theme itself.
EDIT
I had a good look at the ‘Heuman’ theme. I think to solve your problem here is to copy the following files to your child theme, content.php
and archive.php
Rename your content.php
to something like content-archive.php
. Open it up and delete the following lines
<?php if (ot_get_option('excerpt-length') != '0'): ?>
<div class="entry excerpt">
<?php the_excerpt(); ?>
</div><!--/.entry-->
<?php endif; ?>
and replace it with
<div class="entry content">
<?php the_content(); ?>
</div><!--/.entry-->
Next, open up your archive.php
and replace he following line
<?php get_template_part('content'); ?>
with
<?php get_template_part('content', 'archive'); ?>
That should solve your problem
Related Posts:
- Only get_posts of certain post formats
- WordPress Theme variables scope
- esc_attr() right way and use
- why is translation not working on theme?
- Is having multiple theme customizers for different pages possible?
- How to export/import theme customizer settings?
- Check php version before theme activation
- Separate WordPress themes for each category page
- Detection of theme being used
- Permanently remove first image from posts
- reason of splitting theme files to multiple files
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- How to get the registered sidebar’s name by its id?
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- One button to change all settings in theme customizer?
- Archive listing of posts by publish year (multiple years)
- Replacing mysql_real_escape_string in WordPress theme
- The best way to customize “nav-menu-template.php” to add if the ‘link_before’ is “checkbox”
- Activate different theme for temporary preview
- Nice scroll to wordpress
- Twitter feed is showing blank in WP site [closed]
- Design view breaking on Pages
- Can’t Find a Way to Edit the Home Page Content [closed]
- How do I hardcode a WordPress shortcode into my theme?
- How to Change Site Elements based on referring URL
- How can I render more than multiple posts on template-parts with post formats
- how to use 2 index.php file One for mobile and one for desktop
- Add the shortcodes from the enfold theme to the other theme
- Permalink like example.com/taxonomy/post_type/postname
- PHP Error in WordPress Theme
- WordPress child theme, creating a custom php template page
- How to get Post sidebar & footer including html like get_the_content() which only gets content section?
- Menu to the right of screen on desktop using Bootstrap 4
- loop to return tags in woocommerce in alphabetical order?
- How to tell if a page has subpages for Custom Post Types
- Customizing the output of the archive and category widget without altering the original behavior of the widget
- need to edit php file of child theme to remove an element
- style.min.css code issue
- Beginner Developing Theme with Bootstrap – NavMenu question
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Local WordPress from Git repo, where to set document root?
- How to add custom text near category/tag title in WordPress Twenty Fifteen Theme?
- user update profile for custom code
- Display tag links on archive page?
- Use Custiomizer to setup meta theme color tag
- Rotating Header Images
- Custom Theme, Editor won’t wrap text (i.e. change width)
- Create a custom theme-specific page, invisible in the admin-panel?
- Editing existing pre-created menus in PHP
- Two theme locations for two menus, but only one is showing up
- Editted Theme Files Get Updated/Reverted Every So Often
- Weird slug in archives permalink
- Archive page if else not working for post_excerpt and post_content
- WordPress pagination broken on blog page, working for search results page
- two wordpress sites, two themes, one database, same content
- calling a function from a class in your template
- Showing custom field contents without listing description
- Page 2+ of taxonomy archives does not recognise sort-order from dropdown
- Hide cart when empty [closed]
- WP Knowledge Base Theme bug – Subcategories and Articles, Need to change WP_Query
- Shortcode Display From WordPress Dashboard Page Without Using post_id
- Image not displayed
- Include a php file that is above WP installation hierarchically?
- Inserting A Feed and Sidebar into an HTML Page
- Using existing widget code! [closed]
- how to register a second page-template
- Gallery requires a featured image but does not show it in posts/pages
- WordPress Website Featured Image Replacement Issue
- dynamically filter by category via sub-menu
- doubled content
- Themes with variable width or single columns? I want to display source code
- .htaccess on multisite and roots theme?
- Move wordpress sidebar on homepage up to new position
- How can I print out a single stylesheet or javascript link?
- Catchable fatal error in appcloud free theme by Tokokoo
- Custom Archive Page
- Hide empty categories from get_categories
- WordPress categories not working throughout site
- archive per year with monthly
- Errors while Loading Most Recent Version of jQuery
- WordPress menu links with images & class selection
- How to create and add js and css file when server is not on my PC?
- Custom archives page by month and year – nesting problem
- Link a lightbox thumbnail to a post instead of opening the lightbox
- Predefine Magazine Style Layouts
- How to remove the intro animation which appears during the load up of some WordPress themes? [closed]
- How to store the_post_thumbnail() value in a variable
- Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme
- a problem in class in class-wp-hook.php
- Adding commas between post titles on an archive page?
- Using Featured Image as Hero Background in Word Press
- Font Awesome Icons as squares [closed]
- Gulp dev environment set up for WordPress theme development
- What is considered good practice for registering menu locations?
- WordPress theme requires PHP v >=8.1 – How to a dd different PHP version to docker-composer
- The theme doesn’t load css and JS files doesn’t load in functions.php
- Updated theme conflicts with updated php version
- Upgraded php & wordpress but theme broke
- Woocommerce Select Option Popup [closed]
- WordPress generating Undefined Variable warning