Forum Replies Created
-
AuthorPosts
-
You must have valid license to access this content.
FocuxTheme Support
KeymasterStrictly speaking, it’s a customization issue.
Yes, in samsara, when the excerpt text exist, it will show read more link, it’s different from the other theme, so I think we have to change the php code if you don’t want that.
I don’t have permission to edit the theme in backend, so you should do it by yourself.
Edit loop-default.php file, change the following code:
<?php if(has_post_thumbnail() && isset($post_thumbnail_archive) && $post_thumbnail_archive=='Yes'){ if($post->post_excerpt){ echo get_the_excerpt(); }else{ echo '<p>'.van_truncate(strip_tags(van_content(false,true)),500).'</p>'; } echo '<a href="'.get_permalink().'" class="more-link">'.__('Read More »','Samsara').'</a>'; }else{ if( $post->post_excerpt ) { echo get_the_excerpt(); echo '<a href="'.get_permalink().'" class="more-link">'.__('Read More »','Samsara').'</a>'; }else{ van_content(true,true); } } ?>To
<?php van_content(true,true);?>
Thanks
FocuxTheme Support
KeymasterIt’s my pleasure!
FocuxTheme Support
KeymasterHi
I want, but I can’t make those changes, because many buyers has been already customized their theme, if I change all H1 to DIV, they will have to rework.
Yes, all changes will be over written if you changed the core files, so the best way is create your own child theme for SEO.Thanks
You must have valid license to access this content.You must have valid license to access this content.FocuxTheme Support
KeymasterHi
Edit those posts which has “read more” link, you will find there are some text in the “Excerpt” field (Below the editor and SEO setting metabox), just remove the text, then the post will show the full content.
Thanks
FocuxTheme Support
KeymasterHi
Try the following CSS
.blog-article-title a, .blog-article-info, .blog-article-info a {color:#fff;}Tell you a useful tip for change CSS. If you use firefox or chrome, you can open developer tool or firebug plugin, then, just move your mouse pointer on the element, then you will get its CSS, just copy and change it. Refer to this article https://developer.chrome.com/devtools/docs/elements-styles
Thanks
FocuxTheme Support
KeymasterHi
You need to change many files as below, but I suggest you can make a child theme for these changed files.
1. Edit header.php, find the following code
<h1 id="logo"><a href="<?php echo home_url();?>" title="<?php bloginfo('title');?>"></a></h1>Change to
<div id="logo"><a href="<?php echo home_url();?>" title="<?php bloginfo('title');?>"></a></div>2. Find the following CSS in css/layout.css
h1#logo a { position:absolute; display: block; color: #fff; width: 200px; height: 60px; margin: 5px 0 0 30px; float: left; background-size: 100% auto; background: url(../images/logo.png) no-repeat; font: normal 40px 'loveloblack', cursive; -webkit-transition: margin-top .5s ease; -moz-transition: margin-top .5s ease; -ms-transition: margin-top .5s ease; -o-transition: margin-top .5s ease; transition: margin-top .5s ease; }Change to
#logo a { position:absolute; display: block; color: #fff; width: 200px; height: 60px; margin: 5px 0 0 30px; float: left; background-size: 100% auto; background: url(../images/logo.png) no-repeat; font: normal 40px 'loveloblack', cursive; -webkit-transition: margin-top .5s ease; -moz-transition: margin-top .5s ease; -ms-transition: margin-top .5s ease; -o-transition: margin-top .5s ease; transition: margin-top .5s ease; }3. Find the following javascript code in “js/jquery.samsara.js”
var logo = $('h1#logo a');Change to
var logo = $('#logo a');4. Click Ctrl+F to Find the h1#logo in functions/admin-functions.php, change all h1#logo to #logo
Please note, if you change these files in parent theme folder, you will not able to upgrade the theme smoothly and have to move all the changes to the new version again.
Thanks
You must have valid license to access this content. -
AuthorPosts
