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
1answer
142 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
20 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
318 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
42 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
145 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 ...
0
votes
1answer
1k views

How to get current page menu item name instead of full menu item list

I would like to build a menu structure where you can only see the menu item of the current page like on this web site http://www.bigspaceship.com/services/ I search around and I have the following ...
0
votes
0answers
59 views

anchor link only works when on internal page, not external

I have anchor links, but it's only working when they're linking to the same page. If I'm linking from an external page I see it go to the page anchor but then immediately jumps to the top of the page. ...
0
votes
1answer
76 views

Taxonomy link not working (leads to 404 page)

I've created a website where I use Taxonomies for adding an extra category future. This feature works in the backend (admin) and is showing up correctly under the article. The problem is that the link ...
0
votes
0answers
41 views

data and link from one page to another

I am trying to link from one page to another page which gets the data from previous page. I have a image displayed using metabox. <?php $images = rwmb_meta( 'metabox_imgadv', 'type=image&...
0
votes
1answer
72 views

How to change this internal image link parameter using PHP?

How resize this string / change link parameter. Original file = mydomain.com/wp-content/uploads/2015/01/name-file.jpg Return to $string now = mydomain.com/wp-content/uploads/2015/01/name-file-...
0
votes
1answer
21 views

Attach link to pages accoding to tags

I have a WordPress blog (local installation) and I'm trying to add the following functionality to it: Suppose I have a page on my blog entitled "Algebra", I want this page to contain a list of links ...
0
votes
0answers
37 views

Rewriting URI of custom post type

This is a follow-up question to this thread: How to rewrite URI of custom post type? I'm using WooCommerce on one of my customers' sites and we use the following permalink structure: http://www....
0
votes
1answer
29 views

When inserting attachments into a blog post, how can I get Wordpress to use the full filename with the extension?

I'm using WordPress as a way to keep track of several different types of data which all have different extension names -- file1.fig, file2.dat, etc. When I upload a file and insert it into a blog ...
0
votes
0answers
95 views

Display Post Image Wrapped in Div, Inside Link Tag

So I'm trying to wrap media images published in a post into a custom div, that is also wrapped in a link tag that has the permalink of the media image as it's href. Here's the filter that I've made so ...
0
votes
1answer
169 views

Disable Media File Image Link On Mobile Devices

I'm looking to disable the 'media file' image link on mobile devices, so that when viewing a site on mobile devices we simply have the image being displayed with no link to anything. I am looking to ...
1
vote
1answer
46 views

Widget - link to page rather than absolute url

When I add a link in a Widget, I get the standard Insert/edit link dialog with a Search field. If I enter the Page in the Search field and then link to this page using the "Or link to existing ...
-1
votes
1answer
43 views

Link to external page has wordpress blog-url inside

I am modifying a theme. The initial function looked like that function tmnf_ratingbar() { $rinter = get_post_meta(get_the_ID(), 'tmnf_rating_main', true); if ($rinter > 0) { ...
0
votes
1answer
60 views

How to remove the link of an image on WP 4.2

I'm using Wordpress 4.2 and I'd like to remove the links from some images. I've seen that I could use this : The problem is I don't see that on my interface : Where can I find the same ...
1
vote
2answers
130 views

How to handle broken links created by permalink/slug changes?

If I create a page with the slug "exams" and then need to change the page's slug from "exams" to "tests", any other pages in WordPress that link to the original permalink now have broken links as ...
0
votes
1answer
110 views

Remove all link title attributes

After reading this and this, I want to remove the title attribute from all links of my blog, as that is good from accessibility point of view. How this can be achieved? UPDATE I found a solution how ...
0
votes
0answers
33 views

next post link in same category

Regarding https://codex.wordpress.org/Next_and_Previous_Links the following code should display post in same categories if post are registered in more than one category. Unfortunatly it does not work ...
0
votes
1answer
56 views

problem with category menu, it doesn't want to show link

I have created a category menu but when it displays in front page it shows just text without link. thats my code: $menuname1 = $lblg_themename1 . 'categorie Menu'; $bpmenulocation1 = 'secondary'; // ...
0
votes
1answer
64 views

cannot link a external url, present page url acting as parent url

please help some one cannot link a external link, my present page link is acting as parent link, if iam linking facebook.com , then my page url opens as www.mysite.com/facebook.com please solve it. ...
0
votes
0answers
26 views

How to link other page?

I build menu in admin name is "Members". This is code file User.php <?php function User_add_menu(){ add_menu_page( 'User Members', 'Members', 'manage_options', 'user-members', 'menus_user_add'...
1
vote
1answer
64 views

Add Link Text Back to Insert/edit link Box

Version 4.2.1 of WordPress removed the link text from the Insert/edit link box. How can i add it back?
0
votes
1answer
35 views

Wordpress link management

So I just started using Wordpress. I am using the site to write reviews and link to other sites. I am trying to figure out a better way to manage links, I will be writing a blog post and referencing ...
0
votes
0answers
63 views

Adding links in “our focus” section in zeriff theme wordpress

I am using zerif lite theme of WordPress, I wanted to add link to the content of "our focus" section. But when I add abcd in the content. It shows up as www.website.com/\"link\". Please help me to ...
0
votes
1answer
120 views

How do I change the “href” link that corresponds with an “li class” statement?

Using Firebug I can see the statement - <li class="cat-item cat-item-72143"> and below that is the - <a href="http://domain.com/category/catname">CatName</a> I would like to ...
0
votes
1answer
763 views

Get parent page url show up when it's in child pages

I would like to ask that, how to get the link back to parent page when i'm in the child pages? I would rather to use a proper link instead of <a href="javascript:history.back()">Go Back</a>...
0
votes
1answer
72 views

Link to Homepage in Menu

I am using the mh-newsdesk-lite wordpress theme in one of my client's websites and I'd like to have a link to the homepage in the menu. It ideally would be accomplished without php, or without any ...
0
votes
0answers
50 views

How to link attached images to the current post?

I am using TwentyFifteen theme and on homepage, it's display all the attached images of the post, but the images are linking to the full size instead of the post. I know there is an option to add a ...
0
votes
4answers
193 views

How to add a custom CSS class to ALL links

Is it possible to add a CSS class to ALL links generated from the HTML tab of the post editor? That is to have the part class='myclass" added automatically? <a class="myclass" href="http://www....
1
vote
1answer
48 views

How can you add a link to a sidebar description?

How can I add a link to a sidebar description? $sidebar_description = sprintf(__( 'Sidebar for the <a href="%s">%s</a> post', 'themetext' ), get_permalink($post->ID), $post->...
0
votes
2answers
33 views

How do I map two domains to the same wordpress installation?

I originally have the website working with: (example) www.domainoriginal.com But I want to have another domain (www.domainsecond.com) also use the same Wordpress installation. I have changed the A ...
6
votes
1answer
169 views

Is there a simple way to just insert a link to an image (without inserting an image)?

UPDATE: just found this plugin which does what I wanted and more: https://wordpress.org/plugins/b09-link-to-existing-content/faq I'm pulling my hair out with this, it seems so simple, but there is no ...
2
votes
1answer
39 views

Need advice on how to add links in users profile page?

I am working on a website where I need to have links to posts or pages that a user has added to the website. For example, a user can login to the backend of the website and they will automatically go ...
0
votes
0answers
35 views

Create a simple mu-plugin that appends “?mobile” to all links

I have a wordpress website that is set to switch themes when "?mobile" is present in the url. I'm using it for a specific mobile design that will launch from a particular link. So, instead of "example....
0
votes
1answer
88 views

How to not display a category post on blog page?

As you know, we can assign a "Category" to any post we write. We can also use a "Category" as link on the menu. Good! By default, WordPress will display all your posts in all the categories on your ...
1
vote
0answers
54 views

Default Link for TinyMCE “Add Link”

How can I set a default value for the "Add Link" function of the TinyMCE editor so when you press the button the URL will already be set to a predefined value, e.g. "http://www.google.com"?
-1
votes
1answer
244 views

Displaying categories and subcategories without link

I want the categories and subcategories to be displayed on my single product pages, but I dont want them linking. I've found some really nice code here WooCommerce - how to display product category ...
0
votes
2answers
1k views

Redirecting to old domain after migration

I have moved one of my website to a new domain, below is what i did. Backed up database Uploaded all the files to the new server. Imported sql into new server via phpmyadmin Now i have used this ...
0
votes
1answer
2k views

Deep linking to an accordion tab with Visual Composer

I am using Visual Composer to add an accordion to my page. Now I need to be able to deep link to arbitrary elements in the accordion. In other words, I need to be able to provide people with links ...
0
votes
1answer
86 views

How to get the link of all categories

I have this code: <div class="widget-title"><h2><?php echo esc_attr(of_get_option('carousel_post_title'));?></h2></div> So in my home-page.php i GET the categories, ...
-1
votes
1answer
90 views

Read more link not working [closed]

I having a news page it's displays all posts i have read more each associate with different links but in some read more doesn't show links properly please refer link second and third post can any ...
0
votes
0answers
68 views

Unable to create hyperlink after Wordpress updated

I am recently facing an important issue. This issue happened after an updates completed. The issue i facing is, the visual editor was not responding when i creating links with the Insert/Edit Link ...
0
votes
0answers
98 views

Post List Widget with custom posts and editing the Read More Link

I actually have 2 questions, one related to the Post List Widget, the other concerns the "Read More"-link. ad 1) I want to show a certain category of posts (only one post at a time) in this widget. I ...
0
votes
1answer
363 views

How to add a class to edit_post_link?

My goal is obtain "Edit" button like this: <a class="post-edit-link btn btn-default" href="{$url}">Edit this</a> The first attempt I was trying adopt was adding before and after params: ...