|
|
pages as $index => $post) {
if (!isset($post->ID)) continue;
$active = false;
if (!empty($view->focuspages)) {
foreach ($view->focuspages as $focuspage) {
if ($focuspage->post_id == $post->ID || rtrim($focuspage->permalink,'/') == rtrim($post->url,'/')) {
$active = true;
}
}
}
?>
|
post_title ?>
ID) . '" class="text-link" rel="permalink" target="_blank">' . get_permalink($post->ID) . '' ?>
|
|
3,
'format' => '?paged=%#%',
'prev_text' => __('Prev Page', _SQ_PLUGIN_NAME_),
'next_text' => __('Next Page', _SQ_PLUGIN_NAME_),
));; ?>