Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • in reply to: Author in breadcrumb incorrectly defaults to user id 1 #13016
    catmatch
    Member
    Post count: 5

    Ok I dug into the code myself and I found the problem:

    First on line 83 of /flexform/archive.php the $author variable is being set with an object.


    <?php $author = get_userdata( get_query_var('author') ); ?>

    Then on lines 378-380 of /breadcrumb_navxt/breadcrumb_navxt_class.php the global reference to $author is being accessed. $author should be int, however it is now an object set from the archive page in flexform, thus the return value will always be 1 (user_id #1).


    global $author;
    //Get the Author name, note it is an object
    $curauth = (isset($_GET['author_name'])) ? get_userdatabylogin($author_name) : get_userdata(intval($author));

    I have disabled all plugins and changed my theme to TwentyTwelve and the $author variable is global and is correctly set to the author ID. I am not sure who’s bug this is (flexform, wp, or breadcrumb-navxt) because according to the WP codex, $author is not listed as a global (only $authordata). However breadcrumb-navxt is obviously expecting a global $author.

    Hope this helps.

    ~Jason

    in reply to: Author in breadcrumb incorrectly defaults to user id 1 #13003
    catmatch
    Member
    Post count: 5

    Hello Support, any insight into this?

    in reply to: Revolution Slider Full Width not working #11043
    catmatch
    Member
    Post count: 5

    I figured out what I was doing wrong. If you want a slider added to the top of the page full-width as in the Demo you need to add the slider via the “Page Meta -> Slider Options -> Revolution slider alias”. I was incorrectly adding the slider via the Swift Page Builder Revolution component. Hope this helps someone else.

    ~Jason

    catmatch
    Member
    Post count: 5
    This reply has been marked as private.
    catmatch
    Member
    Post count: 5

    Hello,

    I am having the same issue as razorfrog. I have thousands of posts and my featured image is not showing up by default for any of them. I would prefer the suggested fix of using “image” as the default post thumbnail type.

    Please let me know what I need to do.

    Thanks,
    Jason

Viewing 5 posts - 1 through 5 (of 5 total)