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!
Related Posts:
- Add a class to links in the visual editor (how to get old dialog back)
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- Add footer.php to WordPress child theme
- I want to remove the links from the term list returned by get_the_term_list
- Filter link to existing content suggestion
- Change links automatically to affiliate links
- How to safely remove the footer (twentytwenty)
- storing wp_head in a variable?
- Where would I place `wp_footer();`?
- Shortcode return function with link href inside PHP
- How to properly insert a link to a template in WordPress?
- Taxonomy linked to pages
- wordpress count link clicks by ip address
- Changes in permalink structure in WordPress and how to apply to in-site links
- Copyright info change – Corporate Plus Theme PHP [closed]
- Make Current/Active Page Number a Link (WP_LINK_PAGES)
- How to get post permalink url without a href
- get_template_directory_uri() providing wrong path for img
- Sidebar not appearing in footer, but it appears everywhere else!
- Trying to prepend a Hashtag symbol to the_tags links [closed]
- Next post link on a bootstrap button
- trouble with page_id & highlighting current page
- My website is not showing Footer section
- How to use the wpsnonce clone post link?
- Extract links from content
- Automatically Add Page Links to Nav Menu
- How do I properly code my footer? See example
- with PHP within splits the link
- Adding custom url to readmore link using get_permalink()
- How to set all External Domain Links with nofollow Attribute from Header Footer Content and Excerpt using PHP?
- How do you remove header sitewide from mobile only?
- Obfuscate links (for SEO purpose) [closed]
- Adding wp users ID into a link address from a DIVI modul
- switch_to_blog() + do_action(‘generate_footer’) not working in multisite
- How to enable HTML tags in category description without breaking the category page
- opens like sitename.com/URL
- Link to index.php from home.php?
- Using Javascript On Page – Header and Footer Now Missing
- Add my footer menu to the header
- Display child-page links in sidebar on both Parent Pages AND Child Pages
- What is the proper way to call a function (from functions.php) on a link click?
- Switch position of elements in the footer [closed]
- Change username link in admin bar
- Not able to add new item in wordpress home page
- Multisite – Display different header content based on which site is accessed
- Passing parameter from the current URL to redirect to another url
- Wrapping shortcode content in a span or link
- how to remove replicating a tag inside loop?
- changing static link to relative link
- How to change this internal image link parameter using PHP?
- problem with category menu, it doesn’t want to show link
- Make first child link default instead of its parent
- How to link a word comprised of a custom field with another?
- How to implement conditional PHP in Footer
- Link to external page has wordpress blog-url inside
- PHP code for link with text
- Why is my footer missing [closed]
- Require Credits Footer
- Remove content links (internal and external), but exclude post at specific categories
- footer doesn’t display
- Remove links to the comments section
- How to get default variation ID (woocommerce)
- WP Business Directory Manager Plugin Admin Listings?
- Putting php inside an echo php shortcode
- Add login hyperlink to secondary navigation menu
- WordPress import media error
- Warning: Illegal string offset on theme options page [closed]
- How do I get an external php page to load using javascript
- Help getting previously visited pages ID
- How do I create a numbered list with PHP? [closed]
- Why in my theme I can’t see all the statics content under the posts?
- Woocommerce display one random product via php
- Display all pages – in order
- What does $_GET[‘iphone’] do?
- Change url tag name
- Backend of the WordPress.com [closed]
- Conditional using get_the_ID() not working [closed]
- Appended comments but they show up above the content instead of below
- get_template_directory adding FTP root folders in urls
- Custom ajax call returns 0 [duplicate]
- How to solve Woocommerce Memory Limit
- Metabox Not saving data
- 2nd page displaying the exact same posts as my first page (minus the very first post)
- Hide image if taxonomy term is empty
- Fatal error: Call to undefined function register_new_user()
- Shortcode to find and replace URL
- Remove the More Link
- Why is my str_replace not working on short code submitted by front-end?
- Detecting if parent page has gallery
- Skip foreach loop
- Displaying posts based on category
- stripping tags from excerpt in WordPress is not working
- Can’t get full post title if there a spaces in title
- Prev/Next Links Broken on Static Front Page Pagination
- Pagination broken on is_front_page()
- Changing the color scheme based on the url visited
- Why is an array created in a function hooked to customize register populated when customizer is loaded but not when the front-end is loaded?
- Mixing variables into an array when inserting values
- Don’t show certain div on front page?
- Could use some help with Shortcodes