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!

How can I generate a list of post-type specific categories?

You can create a template page and use the WP loop: taxonomy-{taxonomy}-{term}.php https://developer.wordpress.org/themes/template-files-section/taxonomy-templates/ Or you can use the get_posts functionality: https://codex.wordpress.org/Template_Tags/get_posts#Taxonomy_Parameters Something like this maybe: <?php $args = array( ‘posts_per_page’ => -1, ‘post_type’ => ‘reports’, ‘my_custom_taxonomy_name’ => ‘education’, ‘post_status’ => ‘publish’ ); $show_albums = get_posts( $args ); ?> This will return a list of posts … Read more

Add Filter to get_next_posts_link

You can indeed add a filter to get_next_posts_link, but it has a different name, namely next_posts_link_attributes Complete code would look like this: add_filter(‘next_posts_link_attributes’, ‘wpse_230552’); function wpse_230552() { return ‘class=”iamclass”‘; }

How to get template link?

If you’re using that template for only one page, you can try this function: /** * @param string $template Base name of the template. */ function wpse_233924_get_page_link($template) { $query = new \WP_Query; // Get page which is using the $template. $page = $query->query([ ‘post_type’ => ‘page’, ‘meta_key’ => ‘_wp_page_template’, ‘meta_value’ => $template, ‘no_found_rows’ => 1, … Read more

Links in new menu don’t work

You have a script active that prevents normal behaviour of links if they have no target=”_blank” attribute on them. The original site has this attribute on the link to the blog, so that one works. The ‘new’ site doesn’t have it on the menu links, so those links are disabled. To fix this, go to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)