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.