Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Philljc

    (@philljc)

    That did it, thanks!

    May I ask why you’re using widths for the players, and why there isn’t a 100% width? If there is I apologise, I wasn’t able to find it.

    When I used the following (in conjunction with a container), it worked perfectly in my responsive layout for desktop/iPad/iPhone:

    .fourthree .lyte, .lyte {
    position: inherit !important;
    }

    Thanks

    Thread Starter Philljc

    (@philljc)

    If I use:

    <?php if(function_exists(‘lyte_parse’)) { echo lyte_parse($videoId); } ?>

    It just shows the video ID on the page πŸ™

    Thread Starter Philljc

    (@philljc)

    Can you elaborate on why that wont work?

    As I said, if I use either piece of code on its own, it’s fine, why would it break in a conditional statement?

    [Bump deleted]

    Thread Starter Philljc

    (@philljc)

    Nevermind, figured it out by myself, thanks!

    <?php get_header(); ?>
    <div id="contentwrap">
    <div id="content">
    <div class="posts">
    
    <?php the_post(); ?>
    <div class="post">
    <div class="postcontent">
    <div class="story">	
    
    <h2><?php echo get_the_author_link(); ?></h2>
    
    <?php rewind_posts(); ?>
    <?php while ( have_posts() ) : the_post(); ?>
    
    <h3 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( __('Permalink to %s', 'shape'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    <?php the_excerpt(); ?>
    
    <?php endwhile; ?>
    
    </div>
    </div>
    <div class="clear"></div>
    </div>
    <!--Post ends -->
    <?php if(function_exists('wp_paginate')) { wp_paginate(); } ?>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    Thread Starter Philljc

    (@philljc)

    Actually, using the contents of that entire file from TwentyTen doesn’t even return any results, I tried already to combine the two in a way and I got the same result, nothing

    Thread Starter Philljc

    (@philljc)

    That fixes the search and kind of defeats the purpose of having it as a custom widget, and there are other PHP widgets I need to use

    Thread Starter Philljc

    (@philljc)

    All good, a restart of XAMPP fixed it for some reason, thanks!

    Thread Starter Philljc

    (@philljc)

    Works brilliantly πŸ™‚

    The only thing is the thumbnail doesn’t seem to show. I’ve activated get_post_thumbnail and I can choose the image, it just doesn’t show up.

    I am putting all of this in a blank sidebar, does it need to be encapsulated in anything to work?

    Thanks again

    Thread Starter Philljc

    (@philljc)

    Perfect! Thanks

    Forum: Fixing WordPress
    In reply to: Category image
    Thread Starter Philljc

    (@philljc)

    All good, I did it with jQuery.

    $(“.category:contains(‘Review’)”).css({backgroundImage: ‘url(“/wp-content/themes/shape/images/catreview.jpg”)’});

    $(“.category:contains(‘News’)”).css({backgroundImage: ‘url(“/wp-content/themes/shape/images/catnews.jpg”)’});

    $(“.category:contains(‘Article’)”).css({backgroundImage: ‘url(“/wp-content/themes/shape/images/catarticle.jpg”)’});

    etc, with a backup JPG as a default if they have JS off.

    Thread Starter Philljc

    (@philljc)

    Yay! That fixed it, awesome!

    Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)