Links in footer section

I have improved your code to a new version as i have found that you have used text “AGB” out of anchor tag Updated Code $html=””; $html .= ‘<div class=”zerif-copyright-box”>’; $html .= ‘<a class=”zerif-copyright” href=”http://themeisle.com/themes/zerif-lite/”‘.$attribut_new_tab.’ rel=”nofollow”>’.__(‘AGB’,’zerif-lite’).'</a>’; $html .= ‘<a class=”zerif-copyright” href=”” “‘.$attribut_new_tab.’ rel=”nofollow”> Impressum</a>’; $html .= ‘</div>’; $html .= ‘</div>’; echo $html; Hope this helps!

Getting a 404 on single custom post type page when using rewrite on a custom taxonomy

Add priority with at least 1 to your add actions: add_action( ‘init’, ‘add_training_post_type’, 1 ); add_action( ‘init’, ‘create_training_taxonomies’, 1 ); Currently your issue is that your post type and taxonomy rewrite slugs are identical, so the URL base would be the same and it confuses WP. Fortunately there is easy solution, just add this code … Read more

global $post inside plugin query messes up every new post page in wp-admin

You have two problems in your code. You use $post as a iteration variable which is an habit best avoided You use setuppostdata which changes the global $post without you using any function that actually needs it your loop should look like foreach ( $pp_query as $p) : $pointer_query[] = array( ‘id’ => get_post_meta($p->ID, ‘_sbap_pointerid_text’, … Read more

How to change text in a page by utilizing a custom user id?

You could use a function like so: function construction_intro( $id = ”, $echo = true ){ $id = absint( $id ); switch ($id) { case 123 : $name = “Hillary’s”; $location = “Washington D.C.”; break; case 9999 : $name = “Bernie’s”; $location = “Burlington”; break; case 47679 : $name = “Donald’s”; $location = “New York”; … Read more

Form not working as it should in WordPress, but in a normal HTML site it does

So I finally found the solution to the problem. It was in the validate.js function. I corrected the error by calling the outside functions of validate.js and jquerry: script type=”text/javascript” src=”http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.4.4.min.js” script type=”text/javascript” src=”http://ajax.aspnetcdn.com/ajax/jquery.validate/1.7/jquery.validate.min.js”