Wordpress Archives - Page 2 of 2 - 7-Views

Create Shortcode for [NEXT] and [PREVIOUS] to be placed into specific posts for post navigation

Posted by
December 24, 2018

Add this code to your theme functions.php file add_shortcode( ‘prev’, ‘prev_shortcode’ ); add_shortcode( ‘next’, ‘next_shortcode’ ); function next_shortcode($atts) { global $post; ob_start(); next_post_link( ‘<div class=”nav-next”>%link</div>’, ‘Next post link’ ); $result = ob_get_contents(); ob_end_clean(); return $result; } function prev_shortcode($atts) { global $post; ob_start(); previous_post_link( ‘<div class=”nav-previous”>%link</div>’, ‘Previous post link’ ); $result = ob_get_contents(); ob_end_clean(); return $result; […]

read more

Update WordPress Without Using FTP

Posted by
August 22, 2018

In some cases, we are not able to update/upgrade our WordPress and plugins to a newer version without providing our FTP connection information. This is a common issue whereby the WordPress system can’t write to your ‘wp-content’ folder directly. To resolve this you need to follow certain steps 1) Give ‘wp-content’ 775 permissions 2) Open […]

read more