Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter igralec

    (@igralec)

    @jordesign yes. If I select only a sub-category, it is removed from the main category.

    For me, slider also not appearing. But if i add in footer:

    <script src=”//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js”></script>
    <script type=’text/javascript’ src='<?php echo get_option(‘home’); ?>/wp-content/plugins/cyclone-slider-2/js/jquery.cycle2.min.js’></script>

    works fine. But this is not solution for me. I also get Javascript errors on console for duplicate Javascript files. If i remove them, there is no error, but slider is not working, even files are conected in header (original from plugin). Please help.

    Thread Starter igralec

    (@igralec)

    I’m working with custom theme.

    How can i implement this code into my design.

    My code looks like this:

    <div class="header">
    <?php the_post_thumbnail(); ?>
    <h2><?php the_title(); ?></h2>
    <p><?php the_excerpt(); ?></p>
    </div>
    <div class="main">
    <?php the_post_thumbnail(); ?>
    <h2><?php the_title(); ?></h2>
    </div>
    <div class="footer">
    <h2><?php the_title(); ?></h2>
    </div>
    
    <div class="nav">
    <?php previous_posts_link('Previous') ?><?php next_posts_link('Next') ?><a href="<?php echo home_url(); ?>" class="selected">Home</a></div>

    and it need to be limit number of every item.
    header (1 post)
    main (next 4 posts)
    footer (next 10 posts) -> those are moving with navigation

    I did search for something like this for few times and i couldn’t find anything workable.

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