I am creating a site with WordPress.I'm an amateur.
If you look at what you want to change in the verification tool, you can see that the element style is
The file name is inspector-stylesheet.
That's the excerpt from the php, but
You are trying to change the size of this character.
How can this be done?
functions.php
function twpp_change_excerpt_length($length){
return70;
}
add_filter('excerpt_length', 'twpp_change_excerpt_length',999);
archive.php
<div class="blog-item-excerpt">
<?php echo mb_substr(get_the_excerpt(), 0,50).'[...]';?>
</div>
<?php//end?> to display excerpts
calling in .
php wordpress
There was some explanation below.
https://willcloud.jp/knowhow/dev-tools-01/
After two days, I tried again, and for some reason I could do it normally,
I don't know exactly how to do it, but thank you to everyone who helped me.
546 Understanding How to Configure Google API Key
709 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
549 PHP ssh2_scp_send fails to send files as intended
542 Unable to install versioned in Google Colab
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.