Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ehannes

    (@ehannes)

    Go to your wordpress folder, then go to
    wp-content/plugins/super-rss-reader/public
    there you should find a java script named srr-js.js
    Open it with a text editor, like Notepad.

    You will find a lot of text in this file. Just search for the word “interval”. You’ll find two. The first you find follows by a hexadecimal number, mine is set to interval:2e3. Try some different values of this, save it and check your website.

    Hope that wasn’t too difficult to follow.

    Thread Starter ehannes

    (@ehannes)

    Don’t know if there’s an update. Maybe you could write to those who are developing the plugin and ask them.

    About the CSS-scripting part, it’s not hard at all to change the timing. Think you could do it by yourself. If you want, I could help you with it.

    Thread Starter ehannes

    (@ehannes)

    Anyone got a fix or a tips? It’s just the ticker that doesn’t work. If I turn of the ticker it works fine.

    Thread Starter ehannes

    (@ehannes)

    Actually I found out how to do it. It’s only to change one value in the script.

    But first you need to download the script (and if you like also the css-file) and not use the online version. Then it’s just to find the value in the script and change it to something that suits you. If you want more help just answer this post and I can give you more details.

    Thread Starter ehannes

    (@ehannes)

    Wow, thanks. I think that solution was a bit more complicated than the one I came up with. Need to study php better first to manage to filter functions…

    But thanks for the help!

    Thread Starter ehannes

    (@ehannes)

    I still don’t know how to sort hierarchic taxonomies. But I changed strategy and now it’s working!

    Changed the “time_type” and “day_type” to “day1” and “day2”, made a page for the day1 posts and another for the day2 posts.

    But even though I would be glad to learn how to sort… Anyone?

    Thread Starter ehannes

    (@ehannes)

    Your right, that code was inside the loop. I’ve changed it a bit, almost there, but I feel like my php skills isn’t enough…

    I know I need to run the $query outside the loop, I’m still running it from inside…

    <?php
    /* Template Name: Speakers day test */
    get_header();
    
    $args = array(
            'tax_query' => array(
                    array(
                            'taxonomy' => 'hannes_speakerday_type',
                            'field' => 'slug',
                            'terms' => 'day1'
                    )
    ));
    
    $query = new WP_Query( $args );
    
    if(have_posts()) : while(have_posts()) :
        the_post();
    
    ?>
        <div <?php post_class(); ?>>
            <div class="post-cont">
                <h1><?php the_title();?></h1>
    
                <?php the_content(); ?>
                <?php foreach(get_terms('hannes_speakertime_type', 'orderby=slug&order=asc') as $type): ?>
    
                <h2><?=$type->name;?></h2>
    
                <div class="speaker-list news-index">
                    <?php while ( $query->have_posts() ) : $query->the_post(); ?>
    
                    <div <?php post_class(); ?>>
                        <div class="thumb"><?php the_post_thumbnail(); ?> </div>
    
                        <div class="post-cont">
                            <h3><?php the_title();?></h3>
                            <?php $content = get_the_content('L&auml;s mer >>');
                            $content = preg_replace('/<img[^>]+./','', $content);
                            $content = apply_filters('the_content', $content);
                            $content = str_replace(']]>', ']]>', $content);
                            echo $content; ?>
    
                        </div><!-- post_cont -->
                    </div><!-- post_class -->
                    <?php endwhile; ?>
                </div><!-- speaker-list news-index -->
                <?php endforeach; ?>
            </div><!-- post-cont -->
        </div><!-- post_class-->
    <?php endwhile;endif; ?>
    <?php
    get_footer();
Viewing 7 replies - 1 through 7 (of 7 total)