Support » Themes and Templates » Trying to use an entry header from Adelle to Twenty Twelve

  • I am trying to use the entry header (the bubble date, post title, and category) from the template Adelle. I am currently using Twenty Twelve with the Like Blogger Child.
    I successfully moved code in a test, but only the text appeared, and not the bubble or correct format.
    How do I correctly change the code to get it to look like the Adelle entry header? (here is the adelle theme site

    I believe this is the html from Adelle I need to move….

    ` <header class=”post-header”>
    <div class=”post-date radius-100″><span><?php echo get_the_date(‘d’) ?></span><br /><?php echo get_the_date(‘M’) ?><br /><?php echo get_the_date(‘Y’) ?></div>
    <h2 class=”post-title” itemprop=”name”><a href=”<?php the_permalink() ?>” rel=”<?php _e(‘bookmark’,’adelle-theme’); ?>” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?></a></h2>
    <div class=”post-category”><?php _e(‘categories’, ‘ace’); ?>: <?php the_category(‘, ‘) ?></div>
    </header>`

    My site is here

    I am very new to coding, so specific directions help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter piperlincoln8

    (@piperlincoln8)

    well the links didnt work

    My site is http://www.piperlincoln.com

    Adelle is at http://www.bluchic.com/shop/adelle-theme

    First take this out of your CSS file:

    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-46255885-1']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>

    You can’t put anything except CSS in a CSS file.

    Did you find and move the CSS code from Adelle?

    Thread Starter piperlincoln8

    (@piperlincoln8)

    I didnt move any css from Adelle, since I wasnt sure which part corresponded to the specific entry header…

    Thread Starter piperlincoln8

    (@piperlincoln8)

    I originally just moved the HTML posted above from Adelle into the content.php of Twenty Twelve.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trying to use an entry header from Adelle to Twenty Twelve’ is closed to new replies.