• Hello,
    Well the question is already on the title, how can I modify the template of a post on Virtue theme?
    The thing is : I’m not going to add manually “<div class=”fb-like” data-share=”true” data-width=”450″ data-show-faces=”true”></div>” everytime I post something.
    What is the file I should add in the theme editor?
    thanx

Viewing 5 replies - 1 through 5 (of 5 total)
  • virtue/templates/content-single.php

    I strongly recommend using a child theme if you plan on editing any files. Or just using a plugin to add a sharing button.

    Kadence Themes

    Thread Starter harimbola1

    (@harimbola1)

    Thanx.
    Yes, I actually used a plugin. Seems to complicated to me. ??
    My last question : How can I add contextual ads between post? My home page is showing the latest post. But I would like to spaced them a little?
    How can I do that?
    Thx.

    There isn’t a way in the theme to show ads between posts on the home page. If you have the premium theme I supposed you could use the shortcodes and offset options but that would only be with premium.

    If you want to change some spacing can you post a link?

    Kadence Themes

    Thread Starter harimbola1

    (@harimbola1)

    Ok, thx a lot for the answer.
    What do you mean by posting a link? a link of what please?
    You mean my blog? there it is https://workmada.ml/
    And tell me if you have anything to say in my site, perhaps you might see some bugs that I don’t.
    Thx

    hannah

    (@hannahritner)

    Hey harimbola1,
    A link to your site was perfect. As Kadence Themes said above, there isn’t an option to add ads inbetween posts in the free version. But if you still want to add extra spacing you can use this:

    .postlist article {
      margin-bottom: 70px;
    }

    Just paste it in your custom css box in theme options > advanced settings.
    You

    Also, I see you’re loading this call in a text widget in your sidebar: <script type="text/javascript"src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
    This is way out of date and causing errors on your site. WordPress is now using jquery 1.11.1. I would definitely recommend removing.

    Hannah

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to modify post template?’ is closed to new replies.