Questions tagged [links]

Apart from the obvious meaning, `link` in the WP context also stands for a special post format. Please use the `permalink` tag for questions about the url structure of a site.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to change the color of my hover links [closed]

The hover links in my posts before used to be blue, after opening the site after a long time it all turned to red and now i dont know how to change them. Even if i change the font colors its still red....
0
votes
0answers
7 views

how can i add a nofollow link to the author link

Install a plugin for author box. Follow links are generated automatically. How can I change the link to nofollow in the author box a). above the author's name b). above the author's profile picture
0
votes
1answer
14 views

Remove Comment Author Link only for subscribers

I am using this function add_filter( 'get_comment_author_link', 'remove_comment_author_link', 10, 3 ); function remove_comment_author_link( $return, $author, $comment_ID ) { return $author; } to ...
0
votes
0answers
11 views

Open new links in a new tab option does not work

When adding a link a post, a page etc, I select the "the open in a new window" option. In theory, the link should always open in a new window: it does not and opens in the same page. What can I do? ...
-1
votes
1answer
14 views

How to download file without login to wordpress account?

The following link is used to share individual customer/user to download invoice PDF file. But each time they have to login and download PDF file. I want this link should download PDF file without ...
0
votes
0answers
7 views

Latest Posts' links and recent links in Link Manager in single section / widget

I am using Link Manager in WordPress 5.4.1. Is there a way to display the latest Links combined with the recently published posts in a single section on the sidebar sorted by date ? I don't want 2 ...
0
votes
3answers
22 views

How to change hover link colour for blog post (body) text only

I am using the Shamrock theme and I am happy with link colours on the main page however when you go into a blog post and hover over any links within the body they are red. I have tried multiple ...
0
votes
0answers
6 views

Audio page link not working

I have uploaded some audio files into my media lbrary (Savona Pro theme) and then successfully inserted the links on to a page. However when I click the link it doesn't work? Can anyone help as to why ...
0
votes
0answers
16 views

How to track which users click link/button?

I'd like to be able to track specifically which users click a link or button in a private paid members only section of my site. For example, if the user lands on the link site.com/media/1.pdf, I would ...
0
votes
1answer
16 views

Problems styling a Custom Link in a Menu

I have a primary menu on my Wordpress site with links to other pages within that Wordpress site. However, the last menu option is a custom link that directs the user to an external site. That link ...
0
votes
0answers
25 views

.com creates automated link in post

In classic mode, if we write "example.com", it creates automated link like : <a class="vglnk" href="http://example.com" rel="nofollow"> <span>example</span> <span>.&...
0
votes
0answers
6 views

Amazon Affiliate Native ads and Text+Images Affiliate links won't go live in WordPress

This is my first time asking a question. I am working for this website and my job is to add Amazon affiliate links to the blog posts. https://www.texasrealfood.com/ The problem is, when I add text ...
0
votes
1answer
21 views

Disable automatic embed links

Is there a way on current wordpress versions (5.2..), to turn of the automatic embed links(wp-embed.min.js), that will turn an url into an iframe? I have tried plugins, snippets, functions.php ... it ...
0
votes
1answer
12 views

author_link filter not work correctly

i want to change author link page. by default it's: site.com/author/user_nice_name but i want change it to: site.com/teacher/user_nice_name i used this code and it worked, but when i click on the ...
0
votes
1answer
68 views

My WP homepage works, but the other pages don't when accessing from out side of my network

So, I host my WordPress website on my PC. 192.168.1.5:25566 (port forward). On my LAN, I can access homepage and other pages on the site. But from outside the LAN, I can access homepage but cannot ...
0
votes
0answers
11 views

Cloned website in subfolder has wrong links

I'm sorry to ask you guys but I'm going crazy. I've been trying to figure my problem out but I spent 8 hours and still nothing seems to work. So here's my problem: I have copied my website in a ...
1
vote
0answers
23 views

Removing Title From Links to Site

So I've been using my wordpress site to blog. I've also been importing those blogs to Medium, and anytime I share the article the site title is appended to the end. So if the article is named "100 ...
0
votes
1answer
22 views

How to add a column into the link manager?

Inside WordPress admin panel, there is the "old" link manager, know also a Bloggroll. It has multiple columns in the overview, and I would like to add a column. How can I do this? (I only want to ...
0
votes
0answers
16 views

Some custom post types did not return an object

I wrote a function to register custom post types below - appetizer (working well) - vermicelli (working well) - pho (working well) - seafoodNoodle (X) - koreanSpecial (X) - koreanRice (X) - lunchBox (...
1
vote
1answer
30 views

How to automatically nofollow a set domains? (I seem to have half of the answer)

There we go with my first question ever on WPSE. Hope someone can lend me a hand here :) I am sick of adding nofollow rel attribute manually on every single outbount link. I´m looking for a code ...
1
vote
1answer
31 views

Executing a shortcode from a “normal” text/hyperlink

Is it possible the executed a shortcode from a normal HTML? For example: <a href=[shortcode]> press here</a> and when the user clicks the text, the shortcode is called? I Basically I ...
0
votes
0answers
8 views

How to bulk remove image links from posts?

I've just migrated my blogspot to worpress with own domain but, images link to blogspot site. I found I could replace the code with a regex plugin: Search Regex and tried with this regex: /<a ([\...
0
votes
1answer
13 views

New to WP: links on static homepage are not working

I am new to WP. In our Twenty Seventeen Child template, I have a page that I use as a static homepage. On this page I have created links. The links are displayed underlined and in the source code of ...
0
votes
0answers
15 views

Link Dont work in first page Hero image

i try to add a link to hero image button (see in screen shot) but the link is not responce in any way. 2) If i move the mouse from hero image to menu there is a "light" effect or somthing that ...
0
votes
0answers
13 views

How do I migrate “short links”

I have a site which uses Wordpress short-links (Wordpress 5.3). I need to migrate the site to another domain. However, the export/import tools do not alter the short-links which continue to point to ...
0
votes
3answers
42 views

How can I get the url from file uploaded in Media Library

In my template i'm using a link for downloading a file (probably a PDF or a JPEG) that I will upload from Media Library. How can I get the url path for this specific file? What template tag I have to ...
0
votes
1answer
22 views

How do I remove all links from all my posts at once?

I found this code but I don't understand it. add_filter( 'the_content', 'misha_remove_all_a' ); function misha_remove_all_a( $content ){ return preg_replace('#<a.*?>(.*?)</a>#is', '\1'...
1
vote
0answers
13 views

Setting a menu link to open a pop-up

I want to set an menu item to work exact like the following link <a onclick="window.open('/projects/aio-radio/demo/', 'aio_radio_player', 'width=720, height=355'); return false;" href="#" class="...
0
votes
0answers
11 views

Adding Files to Page Only Adds Title, Doesn't Create Link

I have run into a really weird problem. When I go to add a file to a page or post using the Add Media button, Wordpress only inserts the title of the file and doesn't create the link, it's only the ...
0
votes
1answer
11 views

Getting duplicate homepage links | Even if there is only one page in Dashboard Please Help

I recently imported a old wordpress site into a new site everything ok but the NAVIGATION links are showing home (10 times duplicate links) see below picture Please can u answer how to solve this I ...
0
votes
1answer
23 views

How to set all external links from a certain user to “nofollow”?

I would like to know how I can set all external links in all posts from a certain wordpress user in my blog automatically to "nofollow" ? So that old postings and future postings from this user are ...
0
votes
1answer
36 views

<a href=URL> opens like sitename.com/URL

I develops elementor widget.my a href code doesnt work like i want.the plugin works like that: admin set a url as text in elementor widget tab.and the text display as link for all equipment div: &...
0
votes
2answers
24 views

How to deal with internal links in blog while developing new site in WordPress?

I have a client for whom I'm developing a new WP site. Their current site uses DNN but due to security reasons (among others) they have chosen WordPress. As we are migrating and updating blog ...
1
vote
2answers
42 views

Change links automatically to affiliate links

My goal: I want external links to shops I'm affiliated with (for example amazon) to automatically get the affiliate ID attached to it. Example: link I put in my blog post editor https://www.amazon....
0
votes
1answer
25 views

Link to index.php from home.php?

I have home.php that displays recent posts from two prominent categories. At the bottom of home.php, I have a link that says "All Posts" which I would like to have point to a listing of all posts. ...
0
votes
1answer
39 views

Menu links URL with PHP GET method

Hello the community, I would like to know if is it possible to generate menu links using the PHP Get Method instead of the regural one used in Wordpress? e.g : www.mybeautifulwebsite.com/category/...
0
votes
1answer
53 views

Problem with pagination link (error 404)

I have a problem with wordpress patination. The limit of posts (custom type post "properties") per page is 9. When I pusblish 11 properties the pagination links works properly. 9 properties in the ...
0
votes
1answer
20 views

Why would one specify multiple arguments when using get_previous_posts_link() which takes only one parameter?

I'm looking at some plugin code that looks like so: get_previous_posts_link(__('<span>&larr;</span> Newer', 'gc-sermons'), $total_pages When I look at the WP function reference for ...
0
votes
0answers
15 views

Retrieve user's name and customize the next page accordingly

On the first page, I want to add a form to retrieve user name and then customize the next page accordingly (so as to address the user with his name). I'm new on Wordpress, kindly guide me. Thanks.
0
votes
1answer
19 views

Changing post depending upon where you're redirected from?

I want to create a post on my site in such a way that when a given user enters the first page (say, front), then some aspect of the "front" page changes (like picture shown, the name used to address ...
0
votes
1answer
25 views

Add clickable link on an image

I'm trying to add an image that when clicked on directs the user to another page on my website. I don't want any visible text link, just the image. How do I do this?
0
votes
1answer
16 views

How to add a link to an external website in the description of a customizer control (with Kirki)?

I'm building a Wordpress theme and I use the Kirki Customizer framework to add controls and settings to the customiser. I added a description to some controls, using the following code: 'description' ...
0
votes
0answers
21 views

Rotate prefix for external domain links using functions.php?

How to rotate from multiple prefixes for all links to a external domain https://externaldomainexample.com/ Our prefixes : https://example1.com/api/xx/ https://example2.com/api?=xxxx&url= https://...
0
votes
1answer
28 views

Why aren't links clickable on my 404 error page? [closed]

I have created a custom 404 error page. However, the links are not clickable. The link to my site and a random 404 page is https://createandgo.com/error404page
0
votes
0answers
24 views

how to link subdomain backend to main backend?

when you have to create m.domain.com subdomain for mobile devices,do you usally re crate backend (such as C.P.T posts combined with A.C.F ) or there is way to link subdomain backend to your main ...
0
votes
0answers
12 views

A simple link, from my temporary homepage to the original one, is not working - for some

I'm a pretty experienced WordPress developer, but this has me truly baffled. I built a new page as a "temporary homepage". Under Settings --> Reading, I set the Homepage to this new page (titled "...
0
votes
1answer
204 views

Vimeo video play button color function

In the page editor I pasted a Vimeo link: https://vimeo.com/253989945 Which generates the following: <iframe title="Breakaway Music video Shot on the Canon 7D" src="https://player.vimeo.com/video/...
0
votes
0answers
17 views

How to get and then style the Current Active link?

Hey there commumity this is my first question as a dev. I have made a list of the categories that are inside my custom post type by quering them. The problem is that I cant find a way to keep which ...
0
votes
1answer
88 views

How to change the canonical link from a category or taxonomy archive?

On this url: https://www.phuket-luxury-villas.us.com/tourist-spots/buddhist-temples-wats/ I have a wrong canonical link: <link rel="canonical" href="https://www.phuket-luxury-villas.us.com/tourist-...
0
votes
0answers
9 views

Query Link can't be published

I do have a page with many contents. Also references to external contents. I wanted to add such a link: <a href="https://ttvbw.click-tt.de/cgi-bin/WebObjects/nuLigaTTDE.woa/wa/...

1
2 3 4 5
16