Forum Replies Created

Viewing 15 replies - 241 through 255 (of 269 total)
  • Hey you posted on my post with a similar problem and I thought I should mention this:
    today I updated my WordPress to the new version 3.5 and for me that ended my problems!
    I was able to turn on all my plugins again without getting that white screen.

    So turn off your plugins by renaming your plugin folder through ftp to plugin-hold, if you then can access your admin, update your WordPress to 3.5, rename your plugin folder again to plugins, and see what happens.
    I hope this will solve it for you too!

    Thread Starter omniafausta

    (@omniafausta)

    I have some good news:
    Today I updated WordPress AGAIN now to the new 3.5, and after that I was able to turn on all my plugins again!

    Not sure what it was exactly what was changed that fixed this, but I am grateful nonetheless!

    Thread Starter omniafausta

    (@omniafausta)

    A custom theme I built based on Tweaker3, but highly adapted…

    Thread Starter omniafausta

    (@omniafausta)

    Update to the 2nd problem:
    I found a work-around, of course I still hope the problem can be solved, but maybe my workaround will help you solve the problem.

    If I add this to my template:
    <script>images=['']</script>
    your plugin no longer breaks the Supersized plugin.

    Thread Starter omniafausta

    (@omniafausta)

    Ok it was a lot easier than I feared!
    With help from a friend I came to the following solution:
    putting this in my template, gave the output I wanted:

    next_post_smart( '%link', '◄' );
    previous_post_smart( '%link', '►' );

    Thread Starter omniafausta

    (@omniafausta)

    thanks for looking into it.
    Indeed turning off the permalinks is not an option for me…
    So far i have decided on a work-around using a ‘link page to’-pluging to redirect my static homepage to the portfoliopage that has the gallery.
    But of course I would prefer not to have to use the extra plugin.

    Thread Starter omniafausta

    (@omniafausta)

    ok, I found something in the code of the plugin that is probably of importance:
    $link = sprintf( "<a href='%s'>%s</a>", get_permalink( $id ), $title );
    the %s part calls the permalink I think, where i would want an arrow either to the left or to the right, depending on wether it is next or previous…
    But, first of all I do not want to edit the plugin itself (because of potential updates). So I guess i need something in my functions.php that replaces that line with something else?
    And second of all, I wouldn’t know what kind of if / else stuff I would have to put in there to make it work.

    Someone please help? thanks

    Thread Starter omniafausta

    (@omniafausta)

    thanks for your reply.
    I tried the Ajax pagination, but that doesn’t help.
    It changes nothing if I also have the NGG Image Rotation plugin activated.
    If I de-activate that one, it does change something, but it does not work correct either.
    From page 1 it goes to an empty page, and if you click the browser back button, it goes to page 2.

    Thread Starter omniafausta

    (@omniafausta)

    hmmm and another bug!
    If the gallery is on a ‘static’ home-page and you have a gallery made of more than 1 page and you link to the next page… it goes to a post instead op page 2 of the gallery.
    It works fine if it is on another page than the home-page.

    UDATE:
    this is not an issue with your plug-in, but with NextGEN gallery itself (same problem happens when your plugin is deactivated.)

    Thread Starter omniafausta

    (@omniafausta)

    oh no, I see another problem 🙁
    It doesn’t play well wit the Supersized plugin.

    If NGG Image Rotation is activated the Supersized plugin only works on pages that displays a NNG gallery.
    If a pages has no gallery the Supersized plugin does not work, regardless of wether it takes it’s background image from a NNG gallery or the WP media gallery.
    As soon as I de-activate NGG Image Rotation, Supersized does what it should do.
    This simple site is turning out to be quite complicated 🙁

    Thread Starter omniafausta

    (@omniafausta)

    never mind, i found it!!

    I changed this:

    $child_pages = $wpdb->get_results("SELECT *    FROM $wpdb->posts WHERE post_parent = ".$post->ID."    AND post_type = 'page' ORDER BY menu_order", 'OBJECT');    ?>

    into this:

    $child_pages = $wpdb->get_results("SELECT *    FROM $wpdb->posts WHERE post_parent = ".$post->ID."    AND post_type = 'page' AND post_status = 'publish' ORDER BY menu_order", 'OBJECT');    ?>

    meaning I added:
    AND post_status = 'publish'

    Thread Starter omniafausta

    (@omniafausta)

    ooohkay, can someone confirm if this is true (read it somewhere):
    ” By the way: the htc workaround works only in case if all the corners must be rounded. “

    because this could be my problem, there are 3 rounded and 1 square corner…

    Thread Starter omniafausta

    (@omniafausta)

    anyway, I got some help on another forum so I will call this resolved.
    Anyone having the same problem and stumbeling on this post:
    here is the link I received that will help me fix it (haven’t done it ye, but will soon)

    http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks

    Thread Starter omniafausta

    (@omniafausta)

    @esmi:
    Ok, sorry, I’ll go somewhere else with my issue then,
    I thought it was allright since the subtitle of this forum says:
    – XHTML and CSS

    @andrew:
    That’s because at the moment I haven’t got it to float:right;
    but then the content of the sidebar drops below the end of the content of the div next to it… But thanks 🙂

    Thread Starter omniafausta

    (@omniafausta)

    ok, my order by menu has been solved, by someone having the same problem on this forum
    and then somewhere else on this forum I found the solution for the depth

    For the order by menu I replaced:
    $portfolio_children = get_page_children($portfolio->ID, $all_wp_pages);
    with
    $portfolio_children = get_pages('sort_column=menu_order&child_of=' . $portfolio->ID);

    and the to resolve the depth issue I replaced it with:
    $portfolio_children = get_pages('sort_column=menu_order&child_of=' . $portfolio->ID.'&parent='.$portfolio->ID);

    the total code now is:

    <div id="childpages">
    <?php
    // Set up the objects needed
    $my_wp_query = new WP_Query();
    $all_wp_pages = $my_wp_query->query(array('post_type' => 'page'));
    // Get the page as an Object
    $portfolio =  get_page_by_title('wat biedt het paddenstoelenhuis');
    // Filter through all pages and find Portfolio's children
    $portfolio_children = get_pages('sort_column=menu_order&child_of=' . $portfolio->ID.'&parent='.$portfolio->ID);
    ?>
    <?php if ( $portfolio_children ) : foreach ( $portfolio_children as $pageChild ) : setup_postdata( $pageChild ); ?>
    <div class="child-thumb">
    <div class="thumb"> <a href="<?php echo  get_permalink($pageChild->ID); ?>" rel="bookmark"><?php echo get_the_post_thumbnail($pageChild->ID, 'thumbnail'); ?></a></div>
    <div class="child-links">
    <a href="<?php echo  get_permalink($pageChild->ID); ?>" rel="bookmark"><h2><?php echo $pageChild->post_title; ?></h2></a>
    <ul>
    <?php
    $howmany = 4;
    $pages = wp_list_pages("echo=0&title_li=&parent=$pageChild->ID");
    $pages_arr = explode("\n", $pages);
    for($i=0;$i<$howmany;$i++){
    echo $pages_arr[$i];
    }
    ?>
    </ul>
    </div>
    </div>
    <?php endforeach; endif;
    ?>
    </div>

Viewing 15 replies - 241 through 255 (of 269 total)