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.

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

WP language variable after domain name

How in Wordpress Can I have a link Like "http://wordpress.dev**/en/**and-the-other-parts" I think it could be done with .htaccess but can't get It. Any Ideas?
0
votes
2answers
28 views

Add Filter to get_next_posts_link

As we see in the source, we can apply filters for $attr. So I create something like this function asdff(){ return 'class="iamclass"'; } add_filter('get_next_posts_link', 'asdff',10,2); or ...
0
votes
0answers
20 views

permalink with partial ajax site

I'm trying to load a page with from a URL with an ajax call. This is what i have : a home page with the url / -> list all movies & events a page called cinema with the url /cinema -> list all ...
1
vote
1answer
65 views

Open link in a new tab checked by default when adding a new link in visual post editor

When adding a link in the WP visual post editor you have to click the settings after adding the link and then click the Open link in a new tab to have it add a link with a target in a new window/tab. ...
0
votes
1answer
24 views

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

I'm trying to generate a full list of post categories with links based on post type. So, let's say I'm on an archive page for the custom post type "reports" - when I click on a category link (for ...
10
votes
2answers
207 views

Add custom options to the wplink dialog

I managed to add a custom option-select for images with function attachment_field_credit( $form_fields, $post ) { $field_value = get_post_meta( $post->ID, 'first_image', true ); $...
3
votes
1answer
29 views

Removing link '<a>' from '<li>' menu for some “links” without JS

I want some of my navigation menu items to show plain text, without a hyperlink. Usually, this code appeared: <ul class="..." id="..."> <li><a href="">my item</a> </li> &...
0
votes
1answer
32 views

how to replace hostnames on certain external links?

I have a need to replace hostnames on certain external links. For example, I'd like to replace outbound links to http://www.example.com/whatever with http://staging.example.com/whatever throughout my ...
1
vote
2answers
29 views

How to add an image from web-link?

I currently have this code from a plugin. [imdbi meta_name=poster] This cache an Image Link, and it simply display the link, I want it to display it as an image. Is this possible?
0
votes
1answer
97 views

WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance

I am having an issue with initializing the inline link toolbar in a custom instance of the WP editor. The instance is added in a dynamically loaded modal using the wp_editor function and some ...
0
votes
0answers
11 views

How to occupy Wordpress slug [duplicate]

I'm wondering how to occupy a certain slug to prevent it from being used by my users. I want to make a custom redirect to redirect the users to my login page. So the url could be subdomain.mysite....
0
votes
1answer
13 views

Post Custom & Taxonomy 404 error

Basically the single Permanent link are giving me 404 errors. might be wrong? Code is below: function post_types(){ register_post_type('carta',array( 'labels' => array( '...
-2
votes
2answers
46 views

How to change Ugly link?

How to change Ugly link from www.test.com/?p=123 to test.com/123 I want to make two types of links: www.test.com/123-my-post-title-name www.test.com/123 The latter should lead ...
3
votes
1answer
47 views

Why does WP not use relative links when linking pages?

Why is it that Wordpress 4.4.2 does not use relative links (get_bloginfo, or such things) when I use the "internal editor mechanism" to link to existing pages and posts in a site. My local WAMP ...
0
votes
2answers
48 views

Links in footer section

I'm currently trying to the Wordpress page of a friend. He asked me that the footer section of the site shall contain to links with the names "AGB" and "Impressum" with lead to new tabs with the ...
0
votes
2answers
38 views

Problem with site's search results “Read More” link?

I'm hoping someone will be able to help me with this issue. I noticed today that when I search certain serch terms in my Wordpress site's search box the link is messed up (shown in the image below ...
-2
votes
3answers
53 views

Wrapping my <li>'s with <a>

Whats the most simple way to change my wp-menu generated output from <li><a href="">nav link</a></li> to <a href=""><li><li/></a>? Do I create an array ...
0
votes
2answers
115 views

I wish to remove, disable or hide the comment authors' links to their sites from my home page

I wish to remove the author's links to their original website, from my page I know this is in either the functions.php or comments.php files. I'm not sure exactly of how to edit these php files, I'...
0
votes
0answers
7 views

Subpage for custom post type not beeing loaded

A week ago I started working with wordpress. My project is to expand a friends website with a section where she can add offers (e.g. guided hiking tours) in a chronical way. Those offers should have ...
0
votes
0answers
22 views

What is the use of the URLs stored in the posts table

When a user adds a post in a WordPress site, the link of that post is stores in the database in wp_posts table. And if I changed the link in the database it doesn't actually change in real. For ...
0
votes
1answer
54 views

How can I add this specific link hover effect to a WP site? [closed]

How can I use this css effect on a WP site ? I've tried all kinds of copy paste, but this doesn't get me anywhere. I'm kind of new to Wordpress and css, so I pretty much have no clue what to do. ...
0
votes
1answer
29 views

Add the title attribute to links

I want to add a title attribute to my link like this: <a href="#" title="here is the title">LINK</a> I know how to do this in html but I can't expect this from my users. I can't find ...
-1
votes
1answer
86 views

External Links Not Working [closed]

I am facing a problem that external links are not working in my website. I am clicking on links but nothing happens. There are no popups, or broken links, but still not working. Why?
0
votes
0answers
21 views

Plugin download monitor always links to same file

I installed the download monitor plugin to generate download-links for videos. I have created a couple of downloads and created a widget to display them. I can see the correct shortcode, when I use ...
0
votes
1answer
17 views

How to change dynamic link to relevant post

I currently have a theme that was created by another developer and I just need to change a few small things to get it finished. I'm a little stuck on this one point: A section of the home page pulls ...
-1
votes
1answer
102 views

All the Images in Media Library is showing broken links

The problem which i am Facing is that images in media library and in the front of the website is showing broken links. The fact that is even if i upload new images from admin that is also showing ...
0
votes
1answer
23 views

Reuse links in a post across different languages

I have posts in two languages, managed by WPML. In one post, I share multiple links which are updated in a regular basis. Updating the same links for both languages is not an option (for now I only ...
0
votes
1answer
9 views

Access link page and not folder content of that link

I have a problem with some pages on my site. For example: when i access page called staff from www.example.com/staff it redirects me to folder staff from the root of the site where i have some images ...
0
votes
1answer
50 views

Fragment URL in navigation item without a custom link

Some of the pages in my navigation are fragmented urls that shouldn't actually go anywhere. In other words, I have a couple parent nav items like <a href="#">Services</a> that serve only ...
2
votes
3answers
167 views

How do I remove or disable “Or link to existing content” in “insert link” dialogue?

Don't ask why. Image below pretty much ask what I'm looking to achieve:
0
votes
1answer
37 views

plugin admin subpage title and links in menu not highlited at current page

In my custom plugin subapges i want to echo their titles specifed in add_submenu_page() but i don't know how do that. This is part of code of my plugin which display links in left-side menu: ...
-1
votes
2answers
107 views

Trying to prepend a Hashtag symbol to the_tags links [closed]

I want to prepend a hashtag (#) in front of the tags on my post pages in Wordpress using jQuery. This code is not working: $('div.tags a').prepend('#'); This is the php: <div class="tags"> ...
1
vote
1answer
35 views

Change Read More in Child theme

Im like 99% done with my multisite. The only thing left to do is to change the read more link on the child theme. But I can't get it done. Main site (Dutch): www.jeroenbrugman.com 2nd site(english): ...
7
votes
1answer
326 views

How to use wpLink without editor?

I would like to create theme option to add a link. Loading these scripts and triggering the dialog works fine if wp editor is present. wp_enqueue_script('wplink'); wp_enqueue_script('wpdialogs'); ...
0
votes
1answer
19 views

<a> with PHP within splits the link

I've finally found out how to call a the project-type in a link so the link changes depending on which page it shows. This is the code: <h3 class="widget-title"> <a href="../">Terug ...
1
vote
0answers
24 views

get_adjacent_post by language

I am using Polylang plugin, which assigns each post to a taxonomy 'language'. While using get_adjacent_post() I want to bring only those posts that belong to the language currently displayed. So I ...
0
votes
1answer
74 views

Difference and usage of uri (e.g. get_directory_uri) and absolute path (e.g. get_directory)

What is the difference uri (e.g. get_directory_uri) and absolute path (e.g. get_directory) and when it the best time to use each?
-1
votes
1answer
40 views

PHP Button Custom link [closed]

At this part of code of a wp template I want to change the permalink url of the "Book Now" button to custom link example: "www.mywebsite.com" byt_render_field("description clearfix", "", "", $...
1
vote
0answers
14 views

display archive as collapsing links

I would like to output the following - 2015 -October - my post is good - another post September - 2014 - January -February I want to be able to output a nested listed of the ...
0
votes
0answers
12 views

404 errors after /sample-page added to sub page URLs

I have a site that was running fine, but now all links have /sample-page/ included and consequently, all pages are 404. How do I get rid of sample-page in page links, and how do I make sure this does ...
0
votes
0answers
72 views

pagination custom post type reload but show the same

i have a problem when i try to paginate in a table my custom posts types, in the view it appear in the correct form " 1 2 3 Next" but when I click in the number the page reload but not show the other ...
0
votes
0answers
19 views

Link to specific content

I'm messing around with an existing theme at the moment, trying to strip away as much of the WordPress 'environment' as possible to only preserve the text-editing functionality. So, essentially, I ...
0
votes
1answer
28 views

Prevent “nofollow” from Being Inserted into BBPress Posts

How can I prevent "nofollow" from being added to my internal links on bbPress posts? (I have the latest version of bbPress and WordPress) The "nofollow" attribute is being added to my internal links ...
0
votes
1answer
59 views

How to make menu output links absolute

The page and post links added to WordPress menus are relative in nature. I need a way to force them to be absolute without using the "Custom Link" option. Is there some function or maybe a modifier ...
0
votes
1answer
154 views

Cannot change hover color for links

I am using twentytwelve and a child theme at http://fosit.staging.wpengine.com/. I would like all links in my website to have this dark blue color on hover: #0f3647 The only links where this color ...
0
votes
1answer
21 views

URL links consistent with menus?

I'd like to have a URL links consistent with menus on the page. For example: Menu1: Submenu1 item1 item2 Submenu2 item3 item4 Menu2: Submenu... etc.. The corresponding links ...
0
votes
1answer
352 views

How to remove anchor of current menu item in navbar?

Wordpress nav menu created by wp_nav_menu can highlight current menu item. How can i strip anchor from current menu item? For example, we have menu: <ul> <li class="current-menu-item">&...
0
votes
1answer
45 views

Anchor link on single.php

My current demo site is http://www.dpimax.com/v2/ scroll down to news, so when you clikc on read more I want it to go to a specific anchor point on the single.php which I already have name #...
1
vote
0answers
12 views

Add text excerpt and pictures to hyperlinks?

Is there a way to automatically add text excerpts and perhaps also pictures when one adds a hyperlink into ones post? A bit like when you e.g. share hyperlinks on LinkedIn? Thanks for any suggestions ...
1
vote
1answer
150 views

All Images on wordpress site broken

Recently one of my live wordpress site's broke. And no it was not because of an update since I haven't updated recently (only to 3.1 but then everything worked) For some reason all images now look ...