Lisa Judkins
asked 8 years ago

The themes customize function only shows two blog settings. How else can I edit the blogs settings from the wordpress dashboard? I want to only show excerpts, remove icons and change title and excerpt text on my blog pg. Link below:
ww.flightattendantsource.com/blog-2/
How can I accomplish this?
 
 

Lisa Judkins
replied 8 years ago

Read More button

1 Answers
DominicStaff
answered 8 years ago

To resolve this issue, you can do as the following: – Open the content.php file in the folder path “/wp-content/themes/dw-focus”
 replace the following code (line 38 > 42).

<?php
                global $more;
                $more = 0;
                the_content( '...' );
            ?>

With new code:

 <?php if ( is_page_template() ): ?>
                <?php the_excerpt(); ?>
                <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'dw_focus' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark" class="excerpt-readmore">
                    Read more ...
                </a>
            <?php else : ?>
                <?php
                    global $more;
                    $more = 0;
                    the_content( '...' );
                ?>
            <?php endif ?>

– Add the following code to the Header Code (Dashboard > Customize > Custom code)

 <style>
.excerpt-readmore {
font-size: 12px;
float: right;
}

.entry-meta-bottom {
clear: both;
}
</style>

Hope this helps !

Lisa Judkins
replied 8 years ago

Great! it worked How can I remove the icons on the left of the post (comments, image, etc… Also how can I change the title size and font, description color, font, etccc
Is there anyway I can do this type of stuff easily from my dashboard? I am not the best at coding…

http://www.flightattendantsource.com/blog-2/

Dominic Staff
replied 8 years ago

Hi,
To resolve this issue, you can add the following code to the style.css file:
[class*=”template-blog”] .content-inner .icon-post-format { display: none; }
.right-sidebar[class*=”template-blog”] .content-inner .entry-meta-top { display: none; }
[class*=”template-blog”] .content-inner .entry-title a { color: #…; font-size: …px; }
[class*=”template-blog”] .content-inner .entry-content { color: #…; font-size: …px; }
Regards,

Powered by DW Question & Answer Pro