First of all, you are using $rinter
as a number and at the same time as an URL for the anchor element.
Secondly, the href
attribute requires mentioning the protocol (http(s)://
for example) in front of the domain or else it will just be relative to the current viewing address. ($rinter
should be something like http://www.w3.org
instead of just www.w3.org
)
Related Posts:
- Change links automatically to affiliate links
- PHP – redirect https to http and www to non-www
- How to redirect users to custom lostpassword page?
- Logout and redirect using the WP Menu
- Shortcode return function with link href inside PHP
- Moving code from theme header to functions.php
- Make Current/Active Page Number a Link (WP_LINK_PAGES)
- WordPress redirect redirecting too many times or not at all
- Automatically Add Page Links to Nav Menu
- WP insert post Redirect after function has executed
- How to define a rule in functions.php that ONLY disables the default wp functionality that undesirably changes ‘&’ to ‘#038;’?
- Adding wp users ID into a link address from a DIVI modul
- Need help with AJAX login to call php in functions.php to handle redirects based on user cap (role)
- What is the proper way to call a function (from functions.php) on a link click?
- Wrapping shortcode content in a span or link
- redirect 301 with special character like WIX site “#!”
- Remove content links (internal and external), but exclude post at specific categories
- How to get default variation ID (woocommerce)
- Processing data and redirecting with query string
- How do I call an external php non WordPress class into functions.php?
- Insert content into head tag with function
- Writing a link cloaking plugin
- Function to call either single post or category
- WordPress permalink issue
- Custom functions for string data calculations
- How are these PHP functions applied to a specific page in WordPress?
- SQL error with custom query
- The additional fee for the COD payment method not visible in the front-end
- Hide media for non logged in users
- Programmatically revert to backup .htaccess a possibility?
- PHP identify duplicate words in a text string against a list of words
- How to access all meta data for RSS feed?
- Why Is Number of views on wordpress single post wrong?
- Restrict post to current user in postmeta
- send popup after wp_redirect()
- Remove role of user after X days
- Execute PHP code only with specific user role
- Change Language Title Pagination on Subdomain non Multisite
- How to set all External Domain Links with nofollow Attribute from Header Footer Content and Excerpt using PHP?
- remove specificly the last tag in all posts
- User filter posts by year
- How to redirect non logged in mobile users to page on same site?
- How to Redirect Buddypress Directories To Login Page For Non Logged in Users
- How to set value selected using select2 jquery plugin
- bp-custom.php is not working on a WordPress multisite environment. how to fix it?
- Woocommerce order status payment
- WP Container Displaying Only on First Page of Archive
- Getting text from custom field from customizer
- Workaround for og:image unsupported webp image type, Yoast SEO?
- How to change the author box selection on a post to a custom taxonomy
- Modify WooCommerce used to get all orders in dashboard
- Let current user know pending posts counts using wp_query
- How to remove/hide collapse menu for user/subscriber?
- How to check post meta isset or not empty during publish/save post?
- redirect after submiting post for review
- Output product category link from WP_Query
- How to implement __() function in my theme’s php file?
- Unzip file in functions.php, and add it to cron
- Adding onload to body for certain pages
- Disclaimer that will show every refresh of the page
- Download file and redirect to page or vice versa
- Add Block Before Entry Title Using PHP
- Time Delay a URL Redirect for Specific Page
- Delete images from media library when user deletes an image from ACF Gallery
- how to changes mobile menu toggle breakpoint in WordPress
- Dynamically switch file in get_template_directory_uri() | Function [closed]
- Get page permalink in contact form
- Isn’t Returning Value While Using SELECT COUNT(*) FROM {$wpdb->prefix}
- How to display already created menus via php?
- Updating Metadata with Shortcode
- Grabbing Image name From Product Image Gallery
- Obfuscate links (for SEO purpose) [closed]
- Add more user roles to a PHP logout redirect function [closed]
- Reject all malicious URL requests functions.php
- can’t load .po file in functions.php
- How to assign page id with array in page_scheduled_event
- Need help for some PHP code
- “pre_get_posts” orderby custom date field in different format?
- WP-Bakery – Add custom colors to buttons with template colors
- Uncaught TypeError: extract(): Argument #1 ($array) must be of type array, null given
- Can/should we delete wordpress cron jobs with no action?
- Adding an “Upgrade Subscription” button to an Elementor page
- Database entry removed on browser refresh, Ajax PHP jQuery
- WordPress User Meta value variable into Google Gauge Chart
- Add a Metabox checkbox to the Page Edit screen of wp-admin , which only certain roles can see and Makes only certain roles able to Edit said page
- Jetengine Forms – Media upload path
- Checkbox doesn’t save inside metabox
- A function to get the content of a page
- How to use Page link field with is_page()
- Using ACF Relationship field to set post type to draft or published status
- How to hide a child category and show his parent category
- Display logged in user name and lastname on page
- How to Add a cutsom slug to my custom author role
- Execute function only for specific user roles
- How to send a php var to jQuery Ajax call with two different file
- Providin exception to WordPress wp_nav_menu Custom CSS Classes
- Change wordpress’ database data using ajax – how to get current user id?
- Woocommerce My acount page
- Woocommerce – Exclude variation attribute on specific variation
- Dynamically populate parameter in Gravity Forms using PHP