Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
8 views

Best Plugins for portal website? [on hold]

So hello everyone, I am new to this site, and new to wordpress. Lately I have been trying to build my own website and I got so many questions. I have watched and watched videos and made some ...
0
votes
1answer
28 views

How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?

My website is a daily deals and offers site. I promote many online stores with affiliate links. I have created a php script to detect any merchant's link (ex- Amazon) and convert it to my affiliate ...
1
vote
2answers
34 views

How to change old permalink?

My old permalink structure is /index.php/%year%/%monthnum%/%day%/%postname%/. For example: https://example.com/index.php/2019/01/08/technological-innovation-for-agriculture-sector-in-india/ but I ...
0
votes
1answer
17 views

How do I point bloginfo('stylesheet_directory') to my parent theme?

I've created a child theme but the parent theme seems to use bloginfo('stylesheet_directory') to point to a lot of CSS and js files, none of which are currently loading. As I believe the '...
-3
votes
1answer
39 views

How to add link to button? [closed]

Need some help to add link to the Donate button on the menu http://control.studio6.x10host.com/
1
vote
1answer
20 views

My custom link works only on home page

I created a custom ID for the Portfolio section on my home page. Then I linked it to the "Portfolio" menu, but for some reason it only works from Home page and not from other pages. I tried to add /...
0
votes
0answers
9 views

How to Create pages and link them to a keyword simultaneously?

I am designing a very big listing site where I would have to refer certain pages to a specific keyword. My Query is is there a way by which I can avoid manual creation of links. That is whenever I ...
0
votes
0answers
18 views

how do I link a php or xml data file to current html page inside WordPress

I have three files sitting in the same directory on my Mac. They are; LiveSearchHtml.php, LiveSearch.php and links.xml They linked to each other to deliver a "live search" function based on data ...
0
votes
0answers
11 views

Redirect RSS feed URL to another link [duplicate]

I'm creating a website that's basically a collection of links. I have everything set up wonderfully but the last part is the RSS feed. Right now, it's behaving normally in the sense that each RSS ...
0
votes
0answers
17 views

Displaying Most Recently Edited Post

Is there a way of setting up my Wordpress blog so that the most recently edited blog post appears at the top of my homepage and any page to which it is linked?
0
votes
0answers
16 views

Sidebar with Links

Here is a link to a specific part of my blog. At the top of the page you will see a link "Topology Preliminary Exams" (in fact, that is the page I linked to in this SE post). Here's what I am trying ...
-1
votes
0answers
27 views

Redirect 301 link wordpress

Hello I have the problem if you can help me looking to fix it and I do not know how to search on the net it is possible to be automatically redirected without having to manually redirect 301 to each ...
1
vote
1answer
19 views

Link below the footer removal

i am just starting out with wordpress ,have a hosting account and using wordpress there..In every page,below the footer there is a link that takes people to donate to doctors without borders. I need ...
0
votes
1answer
23 views

Allow insecure embedded content in a SSL secured website

(After some research I think the straight answer is "no, your SSL secured website won't allow to embed insecure content" but I have to ask just to be 100% that is impossible.) I just activated a SSL ...
0
votes
0answers
20 views

How to change custom categories term links?

I have created "Tour Vacation"(tour-vacation) custom taxonomy and added below terms Africa (africa) Canada (canada) Europe (europe) US (us) I want change this terms links. Current link is: https://...
0
votes
1answer
26 views

remove the title attribute from links [closed]

I'm looking for a way to remove the title attribute from links. There is a old plugin but it breaks the site. The title I would like to remove is in the sidebar widget. Thats the code of the widget ...
-1
votes
0answers
18 views

Where do I change the permalink/slug formating inside a post

I want to link to a different post inside a post. I have specified in Settings > Permalinks to use a custom permalink formatting method, but I seem that the option hasn't affected the linkages inside ...
0
votes
0answers
29 views

How to add “nofollow” attribute to only external links

I want to add "nofollow" attribute to only external links with the attribute target="_blank" in the content of the post. Internal links should stay follow and not target attribute. I have this in my ...
0
votes
3answers
76 views

Setting up navigation links for posts (first, prev, next, last)

I'm setting up the wordpress for my webcomic/graphic novel and I'm just hitting a little snag when it comes to the navigation. Here's what I want, a very basic webcomic navigation scheme: << ...
0
votes
2answers
25 views

Can I link to content dynamically from a page to a new page?

I am new to Wordpress dev, and I have a page that loops through some custom fields(repeater) of people. I'd like each subfield link to go to another page that has more info from that person on the ...
0
votes
0answers
18 views

How to change external links to “nofollow” for Contributors only?

I want to change all external links from posts that have been already created by "Contributors" only to "nofollow". This should be done for all posts: the current and future posts. Is there a way ...
0
votes
0answers
17 views

Widget PHP code isn't working

So I have a custom post type, and a php code widget that is connect to said post type and updates every time there is a new post in that type, but it's supposed to redirect when the display on the ...
1
vote
0answers
30 views

How to change all external links to “nofollow” but only for Contributor role?

Is there a way that I can change all my current (and future created) links to nofollow created by Contributor and leave all links "follow" created by the Administrator or Editor.
0
votes
0answers
9 views

Change the links style only on the blog posts

G-d willing Hello, I would start by saying that I am a bit new to this. I have a website with WooCommerce site which has blogs as well. I would like to change only the way links looks like in the ...
0
votes
1answer
6 views

How to change custom link of subpages from of localhost to website

I've created website using localhost. So while adding custom link of subpages like contact us or about its taking url of localhost instead of website like localhost/priyanka/about-us/. So how to ...
0
votes
0answers
15 views

How to create links and external pages for download?

can anyone help me make an external link to download in wordpress? example: a.com/content-test/download. so I want to create a page to display the contents of the content-test without the header, ...
0
votes
0answers
14 views

I’m wanting to make the payment link available to customers with “on hold” orders. Woocommerce

I’m wanting to make the payment link available to customers with “on hold” orders. Currently bank and cheque paying customers placing an order recurve a. Order confirmation with mailing and/or bank ...
0
votes
1answer
20 views

Extract links from content

I'm looking for a solution to only display the links inside a string (my wysiwyg content) on my single page. First of all extract all my links, and replace each links content by the links title ...
1
vote
1answer
34 views

Get category url in loop

I need to get the category url for put it in meta snippets. Now the output inside the span is tag with url. I need to get only the url without tag and put inside $cat_display. I try with 2 options, ...
0
votes
1answer
18 views

Changing author links on homepage to buddypress profiles - without affecting ability to link to author archive throughout the site

I've set all author links to head to the author's buddypress profile rather than the author archive page. I've done this through my child theme's function.php file. *add_filter( 'author_link', '...
0
votes
0answers
17 views

Adding a different domain to existing Wordpress site

I haven't really found a question covering this topic and I'm sure that's because I don't know exactly how to word it. The problem is the following: My boss has recently overtaken the Swiss branch of ...
0
votes
1answer
23 views

How to generate/create link automatically on every word of post in wordpress

I am working on a poetry site and I am new to wordpress. I want to publish poems of various authors on my site. What i want is that when i publish a post, a link/onclick event on every word of post ...
0
votes
0answers
17 views

adding a class to the comment_form login link

I really understand basic coding, and hope someone could help here:) I am trying to have a login modal pop up on the 'you must login to comment' link on the comment form With several researches here ...
0
votes
2answers
25 views

How do I avoid messing up URLs when switching from example.com/subdir to example.com?

The goal is to make my hidden Wordpress site go from http://example.com/subdir (which I have now) to replace the olde site at http://example.com (which is what I want when I take my WP site live). In ...
0
votes
1answer
21 views

Get youtube link title in post title

If my post title is https://www.youtube.com/watch?v=PJmMiZH3Q6I I want it to be converted to original video title which is "Ras Cricket - Fyah" Is there a way without API stuff cause it seems hard.
2
votes
2answers
25 views

How to use a Term Meta Field as a link

I created a taxonomy called animal and a term meta field called horse. I created a function in my functios.php file to make it easier to display the data. Here is my code: function ...
0
votes
1answer
25 views

Mass Update Broken Links

I am looking for a miracle. I highly doubt there's a way to do this but just thought I'd ask: I've been managing a multisite install on an old outdated server with old outdated pieces. We just spent ...
1
vote
0answers
40 views

Help With Custom Image and Text Widget

I recently got into making a custom WordPress theme and I've learned a lot along the way, but I've hit a roadblock with making a custom widget.This is the basic output HTML I'd like my widget to ...
0
votes
2answers
86 views

Recovered Wordpress installation (on localhost) links broken and images not showing

I initially had a wordpress installation on a free hosting service. After the hosting suffered an attack I got a backup of all files and the database and am recovering the site on my localhost (using ...
0
votes
0answers
18 views

Remove querry string from a html link

For perfomance purposes (remove Google Maps Scripts) i use Google static maps to load a lot of locations in my Wordpress website. All maps have differents urls but the syntax is similar. I'm not ...
0
votes
0answers
13 views

How to add link to an image of a post in post slider(postboard)

I want to fix this issues without plugins. add_action( 'widgets_init', 'goodlayers_1_4_banner_init' ); function goodlayers_1_4_banner_init(){ register_widget('Goodlayers_1_4_Banner_widget'); ...
0
votes
0answers
18 views

Create custom shortcode for insert link in text editor

I'm developing mi first plugin, and learning at same time. The plugin allows to use more than 1 url in any link, I've been ok this far, but now I'm stucked. I am using shortcode to insert a link, ...
1
vote
0answers
11 views

WP Plugin for onpage link suggestions [closed]

I am searching for a good Wordpress plugin which suggests me relevant onpage links in my articles. The plugin from here, I cannot handle as a noob and I think it does not what I want to.
-1
votes
2answers
20 views

Automatically add class to link based on link text

I am wondering whether it is possible to automatically add a class to a series of links based on the link text. The scenario is as follows: I am displaying a list of links on a page in Wordpress ...
0
votes
0answers
24 views

How to automatically convert a form with HTML link into post

I am developing a website where people can fill in forms. I would like to enable users to fill in an embedded link together with some text in a way that it is automatically converted into a post. Now ...
1
vote
0answers
17 views

Remove link preview in discussion dashboard

It can be sometimes bothersome when, in the Discussion (Comments) dashboard, where the admin can see a list of comments, moving the mouse over a link will cause a preview of that link. Sometimes the ...
0
votes
1answer
16 views

How to I prevent WordPress from switching external HTTP links to HTTPS?

The website has an SSL certificate and uses https://, but when I link to a website using a text link pointing to http://domain.com and then preview it the link is updated to https://domain.com. What ...
0
votes
0answers
19 views

Best practice and technology to Offset anchor links

I am using anchor links in the Front Page of this Website. They are in ACCUEIL, SPORTIVES, VOYAGES and CONTACT. In order for the anchor links to land in the right place, below the menu upper bar, is ...
0
votes
1answer
108 views

bloginfo(); outputs wrong urls without https on inner pages

Template header has lines like this <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/icons/favicon.ico"> The problem is that bloginfo('template_directory') and ...
0
votes
0answers
24 views

How can I add a sortable link_updated column to the Link Manager?

In the link manager there is no column for the link_updated field in http://example.com/wp-admin/link-manager.php How can I add this sortable column? I've tried cobbling together something ...