Barebones theme missing important code
-
Howdy all.
I’ve created an internal WordPress site which has no extra baggage. All the code has been stripped; with the focus on speed.
I added these lines manually to the header:
<link id="collapseomatic-css-css" media="all" type="text/css" href="https://ccc/wp-content/plugins/jquery-collapse-o-matic/light_style.css?ver=1.5.2" rel="stylesheet"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js?ver=3.6" type="text/javascript"></script> <script src="https://ccc/wp-content/plugins/jquery-collapse-o-matic/js/collapse.js?ver=1.5.2" type="text/javascript"></script>
As you can see in the attached screenshot, the collapse doesn’t fully work. It is expanded and can not be collapsed.
Code from Test post (in screenshot):
<span id="id3733" class="collapseomatic " title="Lire">Lire</span> <div id="target-id3733" class="collapseomatic_content ">Conteu</div>
The div which is meant to be hidden……isn’t.
single.php:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2 class="post-h2"><?php the_title(); ?></h2> <div class="entry"> <?php the_content(); ?> <?php $posttags = get_the_tags(); if ($posttags) { echo "<b>Tags:</b> "; foreach($posttags as $tag) { echo "<a href=\"javascript:ajaxpage('https://ccc/tag/$tag->name', 'contentlinks');\">$tag->name</a>, "; } } ?> </div> </div> <?php endwhile; endif; ?>
Single is used for the right pane.
I’m struggling to find what missing.
Thanks,
Dylan.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Barebones theme missing important code’ is closed to new replies.