Name: OP 2011-07-23 19:05
Could someone tell me an alrenate way of doing this code?
<?php previous_post_link_plus( array(
'order_by' => 'post_title',
'loop' => true,
'max_length' => 30,
'tooltip' => 'Previous post',
'in_same_cat' => true,
) );?> |
<?php next_post_link_plus( array(
'order_by' => 'post_title',
'loop' => true,
'max_length' => 30,
'tooltip' => 'Next post',
'in_same_cat' => true,
) );?>
The problem is wordpress always takes the first > from the => as a close tag forphp for reasons I cannot fathom. Thanks.
<?php previous_post_link_plus( array(
'order_by' => 'post_title',
'loop' => true,
'max_length' => 30,
'tooltip' => 'Previous post',
'in_same_cat' => true,
) );?> |
<?php next_post_link_plus( array(
'order_by' => 'post_title',
'loop' => true,
'max_length' => 30,
'tooltip' => 'Next post',
'in_same_cat' => true,
) );?>
The problem is wordpress always takes the first > from the => as a close tag forphp for reasons I cannot fathom. Thanks.