Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM How to include .js in Cardinal Theme?
#2
Also, I've just find a solution... The js include code is correct, but it must be written before the last part of code in template.php, ... see below (I still don't know why, what's the reason?):

Code:
    <div id="sidebar">
        <div class="section">
            <?php get_i18n_component('sidebar');    ?>
        </div>
        <div class="section credits">
            <p><?php echo date('Y'); ?> - <strong><?php get_site_name(); ?></strong></p>
            <p>
                Cardinal Theme by <a href="http://www.cagintranet.com" >Cagintranet</a><br />
                <?php get_site_credits(); ?>
            </p>
        </div>
    </div>
Reply


Messages In This Thread
How to include .js in Cardinal Theme? - by gordan - 2014-12-29, 10:42:49
RE: How to include .js in Cardinal Theme? - by gordan - 2014-12-29, 11:34:20



Users browsing this thread: 1 Guest(s)