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

    (@molongui)

    Hi Gillman,

    would you feel comfortable modifying a plugin’s PHP file? If so, tell us and we will give you some instructions to check the issue you pointed out. If not, would it be possible to have access to your installation so we can check?

    Anyhow, please, answer us using the contact form in our website, so no email address is made public here.

    Regards,
    The Molongui Team

    Thread Starter gillman

    (@gillman-1)

    Thanks for following up on thus.

    Sure … I don’t mind changing some PHP code. Just let me know what to do. Presently I’m running version 1.2.18 of the plugin. I noticed 1.2.19 came out a few days ago. Should I upgrade to that version first?

    Thanks

    Plugin Author Molongui

    (@molongui)

    Yes, you should update to the latest version before applying any change.

    Once updated, please, do the following:

    1) Open the plugin folder
    2) Go to the “includes” file
    3) Open the “class-guest-author.php” file
    4) Go to line 1067
    5) Replace lines from 1067 to 1078 with this piece of code:

    $args = array(
    	'post_type'      => 'post',
    	'author'         => $author_id,
    	'orderby'        => $settings[ 'molongui_authorship_related_order_by' ],
    	'order'          => $settings[ 'molongui_authorship_related_order' ],
    	'posts_per_page' => ( $get_all ? '-1' : $settings[ 'molongui_authorship_related_items' ] ),
    	'meta_query'     => array(
    		'relation'    => 'OR',
    		array(
    			'key'     => '_molongui_guest_author',
    			'compare' => 'NOT EXISTS',
    		),
    		array(
    			'relation'     => 'AND',
    			array(
    				'key'      => '_molongui_guest_author',
    				'compare'  => 'EXISTS',
    			),
    			array(
    				'key'      => '_molongui_guest_author',
    				'value'    => '0',
    				'compare'  => '==',
    			),
    		),
    	),
    );

    6) Empty any cache-system you may have
    7) Check if the problem persists

    Please, let us know how it goes.

    Regards,
    The Molongui Team

    Plugin Author Molongui

    (@molongui)

    The issue reported here has been fixed on version 1.2.20.

    Thank you Gillman for pointing it out.

    Regards,
    The Molongui Team

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Some articles not listed under author's page’ is closed to new replies.