Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Frederic Serva

    (@fredserva)

    Again, it’s just a CSS issue.
    Your theme is overriding some CSS of the plugin.

    To correct this:

    Open authorbox_front.css (in the ‘/wp-content/plugins/birds-author-box/public/css’ directory)

    Find line 86 and type:

    margin-bottom: -53px;

    instead of

    margin-bottom: -47px;

    After line 91, add a new line and type:

    margin:0 !important;

    Save the file.

    In the profile page, in WP admin, it’s said:

    Twitter URL
    URL must be complete, i.e. beginning with https:// or https://

    Thread Starter Chris

    (@ccccppw)

    The CSS change worked great, thanks Frederic!

    However in Twitter, I don’t see the same “URL must be complete…”, instead this is what I see:

    View post on imgur.com

    That result (@httpstwittercom) is what I get after typing in “https://i.imgur.com/FiCeA97.png” and hitting “Update User” at the bottom of the profile page.

    Plugin Author Frederic Serva

    (@fredserva)

    I think it’s a conflict with another plugin…
    Can you try something?
    First backup the original files to be able to reverse the process if it doesn’t work…

    Open additional_fields.php (in the ‘/wp-content/plugins/birds-author-box/admin’ directory)
    Line 26, change

    $user_contactmethods['twitter'] = __('Twitter URL', 'birds-authorbox') . '<p class="description">' . __('URL must be complete, i.e. beginning with https:// or https://', 'birds-authorbox') . '</p>';

    to

    $user_contactmethods['twitter2'] = __('Twitter URL', 'birds-authorbox') . '<p class="description">' . __('URL must be complete, i.e. beginning with https:// or https://', 'birds-authorbox') . '</p>';

    Save the file.

    Open frontend.php (in the ‘/wp-content/plugins/birds-author-box/public’ directory)

    Line 181

    if (get_the_author_meta('twitter', get_query_var('author')))

    add

    2

    right after

    get_the_author_meta('twitter

    , just before the single quote.

    Repeat that step on line 183

    $content.= '<a class="social_icon" href="' . esc_url(get_the_author_meta('twitter')) . '" target="_blank"><img src="';

    Save.
    Go to a profile and tell me.
    If it works, I’ll publish an update.

    Thread Starter Chris

    (@ccccppw)

    That worked perfectly, thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disjoined Birds Author Box’ is closed to new replies.