Viewing 4 replies - 1 through 4 (of 4 total)
  • I think PHP str_replace would fix this for you. Here is the code that should work

    <div class="right-side">
    
    	<?php
    				if( $prev_link != NULL ) {
    					$prev_link = str_replace("https://", "https://adf.ly/527275432/", $prev_link);
    					echo $prev_link . "<i title='Last Episode' class='playerleft tooltips fa fa-angle-double-left'> </i></a>";
    				}
    				?>
    
    <a class="tooltips" title='View all <?php echo $name; ?> Episodes' href='<?php echo $series_link; ?>'><i class="allepisodes fa fa-sort-amount-asc"></i></a>
    	<?php
    				if( $next_link != NULL ) {
    					$next_link = str_replace("https://", "https://adf.ly/527275432/", $next_link);
    					echo $next_link . "<i title='Next Episode'class='playerright tooltips fa fa-angle-double-right'> </i></a>";
    				}
    				?>
    
    </div> <!-- End of right side -->
    Thread Starter needhelpwithnimble

    (@needhelpwithnimble)

    THANK YOU SOOOOOOO MUCHHH ??

    whats your paypal i owe you ??

    Glad to see it worked out. Paypal.. it really is not necessary. There are some great volunteers in the forums and I am just a beginner.

    PS: You can tip any charity of your choice and I think we can call it even ??

    Thread Starter needhelpwithnimble

    (@needhelpwithnimble)

    That’s nice of you. Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress Next Post Issue’ is closed to new replies.