How to unlock menu editing

Try with another browser. Check your browser console : Ctrl + Maj + I Or right click and inspect. If you find error : First try to disable each plugin one after the other. In order to find out which plugin can generate the errors. OR -Modify the wp-config.php file and change (or add this) … Read more

How to get the Page Name of the current page?

After many attempts and help from others, I finally got a solution to my problem. That’s the code I used: <?php if ( is_front_page() ) { echo “Startseite”; } elseif ( is_singular(“project”) ) { echo “Projekte”; } elseif ( get_the_title() == “Datenschutz” ) { echo “Datenschutz”; } elseif ( get_the_title() == “Impressum” ) { echo … Read more

build child and anchestor three from post parent

So i got it working, by adding a filter: i added this before the wp_list_pages add_filter( ‘get_pages’, ‘check_propper_rank’, 10, 2 ); wp_list_pages( array( ‘post_type’ => ‘wiki-term’, ) ); and then created a new filter, to removed the ones that did’nt fit the rank. function check_propper_rank( $pages, $arguments ) { $user_rank = 100; foreach ( $pages … Read more