WordPress conflict with multiple load more posts functions on click

check your portfolio-scripts.js and blog-scripts.js both action contain same action.

‘action’: ‘load_more_posts’,

So for your portfolio-scripts.js action Should be

‘action’: ‘loadmore_portfolio_posts’,

instead of

‘action’: ‘load_more_posts’,

You declare the function in portfolio-scripts.php but not call in the ajax. I guess change the action solve your problem.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)