Javascript stopped!

  1. I use Malleable to run a glorified portfolio at http://thenickelblock.com and I had the front page set up to run 5 of the feature posts and I went to th site today and all of the sudden my feature posts didn't scroll anymore.

    I have upgraded to the latest hybrid and the newest Malleable. I even started from scratch again and re-installed the files one-by-one. And its gone! How do I fix this? And even more head-scratching, how did I break it?!

    Thanks!!

  2. Well, I (mistakenly) rolled back my database (2 years!!) and all of the sudden it works again. So disaster averted, though I am still curious what I did.

  3. Its hard to say without seeing the problem in action. So let me know if happens again. Otherwise, good luck with the theme!

  4. Thanks!

    The only carry-over is the drop-down menus don't like to stay "dropped-down" unless you mouse over them real fast. And I'm curious how to make a video or the "feature image" to show up on a single post. I thought I added the correct code
    "### <?php

    $video = get_the_video(array('Video'));

    if($video == true) echo $video;

    else echo get_the_image(array('Medium','Thumbnail'),'feature'); ?>

    <div class="entry-content">"###

    The theme rocks though. Gave me a great upgrade from the "Options" theme I was running from Justin Tadlock for the last few years. Heck, I even gave you a shout out (http://thenickelblock.com/?p=768)

  5. Since you changed the size of the font for the category navigation you'll need to adjust the height of #cat-navigation (line 456). 38px seems to work.

    <?php
    
    $video = get_the_video(array('Video'));
    
    if($video == true):
    
    echo $video;
    
    else:
    
    get_the_image(array('Medium','Thumbnail'),'feature'); 
    
    endif; ?>
    
    <div class="entry-content">

    Try that code.

  6. Got it - I'll change the size asap. As for the feature image, almost... It still only shows the thumbnail up there. I tried removing 'Thumbnail' and still no dice. Perhaps the get_the_image without the "array" ?

    I'm still pretty newb-like to php.

    Thanks again!

  7. It really depends on how you're using get_the_image(). Take a look at the readme file in the plugin folder -- you can just copy and paste from there.


Reply

You must log in to post.

Topic Info

  • 7 posts
  • Started 4 months ago by nqlblq
  • Latest reply from Patrick Daly

Tags

Tags: