Forum Replies Created

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

    (@vasvir)

    Ok found it.

    The problem is the SVG sizing in IE11.

    The following css fixes it by papering over the problem. A proper fix should adjust the SVG file itself so it can be sized correctly in all browsers.

    /* IE11 HackFix: SVG problem on search bar */
    div.sbutton svg {
    width: 22px;
    }

    Thread Starter vasvir

    (@vasvir)

    Here is the same patch forward ported to the new child-page navigation. Please include that feature at least as an option. It is not nice to have a navigation link to the current page…

    Index: child-page-navigation.php
    ===================================================================
    --- child-page-navigation.php   (revision 14435)
    +++ child-page-navigation.php   (working copy)
    @@ -62,10 +62,13 @@
    
                    $pages = get_pages($page_arr);
    
    -               if($post->post_parent && !count($pages))
    +               if($post->post_parent && !count($pages)) {
                            $page_arr['child_of'] = $page_arr['parent'] = $post->post_parent;
                            $pages = get_pages($page_arr);
    -
    +                       if (count($pages) < 1)
    +                               return;
    +               }
    +
                    if(!count($pages))
                            return;
    
    @@ -76,8 +79,10 @@
    
                    echo "
    <ul>";
    
    -               foreach($pages as $page){
    -                       echo "
    <li><a>ID)."'>".get_the_title($page->ID)."</a></li>
    ";
    +               foreach($pages as $page) {
    +                       if ($page->ID != get_the_ID()) {
    +                               echo "
    <li><a>ID)."'>".get_the_title($page->ID)."</a></li>
    ";
    +                       }
                    }
    
                    echo "</ul>
    ".$args['after_widget'];

    Forum: Plugins
    In reply to: [WP Post to PDF] New error
    vasvir

    (@vasvir)

    make sure you have curl support for your php installation

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