Hi,
I wanted to add some static text and image content at my themes index.php to show only in the Homepage. But i found these content also displaying in pagination pages i.e. on; mysite.com/page/2/ mysite.com/page/3/ which i do not want to show..
simple code i use for this is:
<?php if ( is_front_page() && is_home() ) : ?>
<div class="homeonlycontent"><p>Home page only content </p></div>
<?php endif; ?>
after this code there is usual code to display the latest blog posts with pagination.
Is there any easy solution to achieve this ? i.e. showing some static content at the homepage at Sanasar theme?
What should I do ?
Urgent help needed..
]]>When viewing articles on tablets, the right sidebar is more than half the width of the page, dwarfing the article. Haven’t quite found the ‘fix’ for this, but if I do I will post.
]]>Where can I located the CSS that is being put into the header – in the <!–Customizer CSS–> area.
]]>What size are the post images supposed to be in sanasar? I’m new and cant find documentation that tells me this. My post images looked skewed.
https://www.dramafreemama.com/blog
In the footer.php the following must come out – https://twitter.com/
]]><div id=”footer-social-icons” class=”seven-col last”>
<?php if ( get_theme_mod( ‘facebooklink’ ) ) : ?>
” target=”_blank” class=”facebook”><?php endif; ?>
<?php if ( get_theme_mod( ‘twitterlink’ ) ) : ?>
https://twitter.com/<?php echo get_theme_mod( ‘twitterlink’ ); ?>” target=”_blank” class=”twitter”><?php endif; ?>
<?php if ( get_theme_mod( ‘googlelink’ ) ) : ?>
” target=”_blank” class=”googleplus”><?php endif; ?>
<?php if ( get_theme_mod( ‘youtubelink’ ) ) : ?>
” target=”_blank” class=”youtube”><?php endif; ?>
<?php if ( get_theme_mod( ‘pinterestlink’ ) ) : ?>
” target=”_blank” class=”pinterest”><?php endif; ?>
<?php if ( get_theme_mod( ‘stumblelink’ ) ) : ?>
” target=”_blank” class=”stumbleupon”><?php endif; ?>
<?php if ( get_theme_mod( ‘rsslink’ ) ) : ?>
” target=”_blank” class=”rss”><?php endif; ?>
</div>
I want to show widgets in latest posts front page, on this page https://www.tipscounter.com/amber/ …. just like it show in other post pages https://www.tipscounter.com/amber/?p=24
How is it possible?
]]>Hi,
Where’s the documentation please ?
Second, I’ve translated starting from the .pot file, but it doesn’t work. What is the name of the file once translated : in my case I’ve translted it to french. I got 2 files from PoEdit the .po and .mo but don’t how to name them accordingly.
Thanks
when adding embed code for a youtube video it breaks out on a mobile.
]]>