php kode til side navigations widget

<?php $parentID = get_ancestors(get_the_ID(), ‘page’); $args = array( ‘sort_column’ => ‘menu_order’, ‘sort_order’ => ‘asc’, ‘child_of’ => $parentID[0] ); $pagelist = get_pages($args); $pages = array(); foreach ($pagelist as $page) { $pages[] += $page->ID; } $current = array_search(get_the_ID(), $pages); $pCount = count($pages); ?> <div class=”btNavButtons”> <?php previous_page_link_plus( array( ‘in_same_parent’ => true, ‘format’ => ‘%link’, ‘link’ => ‘<img… Continue reading php kode til side navigations widget

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!