The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
8 views

Plain <a> links in single-class.php and archive-class.php not working

This seems like it should be super-easy to resolve, but it has me stumped. All the links on my page added via get_header() and get_footer() work just fine. The links added via single-class.php and ...
0
votes
1answer
21 views

Wraping $content into link with shortcodes

I'm working with shortcodes in WordPress and I struggle with one problem. I'm trying to wrap my $content into tags, but it doesn't work properly. So here is my shortcode function: <?php ...
0
votes
1answer
25 views

Add a query string to ALL links on site

Our client would like to embed his site into an iframe in their software backend. I get a query string on the first link but need to make sure that string persists across URLs for all links and ...
1
vote
0answers
36 views

Wordpress changes URL?

I have an image which serves as an a href, the following a href doesn't work: <div id="buttonNext"> <a href="1-5/redrum-10"> <img id="buttonNextImg" ...
0
votes
1answer
39 views

Removing rel=“nofollow” from links posted in Post Content

I am running wordpress for my blog EasyPadhai. I am writing a posts and I have included links to my Android app EasyPadhai for my users. But all links to app are turning in nofollow links. Also ...
1
vote
1answer
44 views

How to add wechat (weixin) link to navigation menu?

The profile link of WeChat (or Weixin) has the following format: weixin://contacts/profile/username As you can see, it doesn't use http:// and that seems to be the reason that it cannot be added to ...
1
vote
1answer
18 views

Delete post by giving its link

It is possible to delete a post in WordPress using its link only? I can't find any possible way to do this.
1
vote
0answers
92 views

Why is there a link tag with rel “profile” pointing to gmpg.org?

I found this <link rel="profile" href="http://gmpg.org/xfn/11"> in header.php file of WordPress theme. What will happen if I don't use this? What will happen if I use this ?
-5
votes
2answers
32 views

Short website link for all post

I have web site and we need to short link of any post from www.thearoundtheworld.info/poas-name-title to www.at.li/kfd How can I do that
0
votes
1answer
39 views

Insert Media - Attachment - Link to : Remove the “attachment page” option

I want to remove the attachment page option from the attachment's link-to selection. I don't always want to tell my clients to avoid selecting this option, I simply want to take it out. But I am not ...
6
votes
1answer
84 views

Modify links when inserted by WYSIWYG editor

Is there any possibility to hook into the editor of WordPress so that if a link to an internal content is inserted via the WYSIWYG editor the post id of that linked post is added as a data attribute ...
0
votes
1answer
34 views

Previous and older set of posts links

I can't seem to display previous and older set of posts links. This is the page I am working on. I need a link to older and newer posts at the bottom of page. The template code is like this: ...
0
votes
1answer
23 views

Highlight archive link on single.php

exist some chance to highlight archive link in classic wp archive widget on single.php template? I have the same template for archive.php and single.php where I call <?php wp_custom_archive(); ...
5
votes
2answers
64 views

Portable Post Links

I quite often run into a situation where I develop a site on a staging domain, have my client fill it there with content, and then when everything's approved move it to production. Now, my ...
0
votes
1answer
18 views

WordPress page where it shows a link to every file in an directory

I have a file on my server with a large number of PDF files in it (more than 100) and I wish to have a page on WordPress that shows a link to each of these files (say sorted alphabetically by the name ...
0
votes
0answers
19 views

Exists filter or action that change Add New Post link?

I want to know if exists some method from filters or actions to change the link of the Add New button in backend , for example the regular url is http://wordpress_install/wp-admin/post-new.php but I ...
1
vote
3answers
62 views

How to use wp_rel_nofollow to add nofollow to external links only?

I want to add nofollow attribute to only external links in the content of the post. Internal links should stay follow. So, can I use wp_rel_nofollow() to make only external links nofollow? Or do I ...
0
votes
0answers
28 views

Get link to top-level parent category of post

I am trying to create a link to the top-level parent of a given post. Many of my posts are in sub-categories. I intend to place a 'root category' image that links to the root category. I have tried ...
0
votes
1answer
27 views

Custom taxonomy applied to links [duplicate]

is it possible to apply a custom taxonomy to links? if so how? i already did this, but it does not seem to work: $labels = array( 'name' => _x( 'Lessons', 'Taxonomy ...
0
votes
2answers
79 views

List all taxonomy terms / Show links if posts are attached, else names

I'm looking for a way to list all the terms from a custom taxonomy. Only the terms that have posts attached to it should have links to the archive page. If there are no posts attached it should only ...
0
votes
0answers
41 views

How to display different content on page based on parameters sent for index.php

I have created a novice WordPress theme. On the main page that is structured based on index.php (not index.php of the site root, but rather index.php within my theme folder). The problem I have is as ...
1
vote
2answers
376 views

Add CSS Class to Link in TinyMCE editor

In searching for a solution, I've come across the plugin to enable a dropdown of CSS styles already present within a stylesheet. What I want is to allow the editor to add CSS Classes from a textbox. ...
0
votes
0answers
30 views

Link rewrite to https (NOT URL rewrite)

Client is running WordPress 3.9 on a Mac OS X Server install. We want the site to be responsive to both http and https requests. Luckily, OS X Server has a nifty feature where we can just set up a ...
0
votes
0answers
59 views

How to add automatic remove links/href from image for wordpress post

I have in the function.php own css style but I need to remove links automatic add_filter('the_content', 'add_image_responsive_class'); function add_image_responsive_class($content) { global ...
-1
votes
1answer
30 views

Link from navbar to categories

I have a navigation bar in homepage. I don't want show categories in navigation bar. I also do not want use a dropdown menu. I just want to have a link to a page that show all categories. I want ...
0
votes
1answer
95 views

Next post link on a bootstrap button

Seems extremely simple but it doesn't work. Here is my code: <a href="<?php next_post_link(); ?>"> <button class="btn btn-default pull-right"> <span class="glyphicon ...
0
votes
1answer
17 views

redirect “about author” code to about page

I'd like to redirect/change this code <a href='" . $wp_about_author_author['posts_url']. "' title='". $wp_about_author_author['name'] ."'>". apply_filters( 'wp_about_author_name', ...
0
votes
2answers
55 views

How to download files to Wordpress?

How can I download file to wordpress? I mean, we have a link of a file for example http://example.com/myVideo.mp4 which is a large file. So I'm not able to download it to my computer, then ...
0
votes
0answers
19 views

How to use <!--nextpage--> and local links <a href=“#info”> tags in tandem

I am two days old in the wordpress world and I'm stuck with an apparently simple problem. In my old site I had a long-ish privacy policy page that used local links extensively. <a ...
0
votes
1answer
25 views

change link of menu particular tab

Wordpress theme - Twenty Twelve. I want to change link of menu. Current --> No link. Required -->#about (link for particular tab only) I've tried to change link from menu tab (Apperance ...
0
votes
4answers
68 views

Renamed my website (URL) – how do I rename all within-page links to the old URL?

A while ago I renamed my website from ExplainingProgress.com to OurWorldInData.org . My problem is that sometimes – for some IFrames and some images – the URL that is linked to is still the old one ...
0
votes
2answers
31 views

Two domain site: Link base URLs point to wrong domain

I have been running domain.co.za, but recently purchased domain.com. Both domains now point to the same Wordpress site. On domain.com pages all the links point to domain.co.za and on domain.co.za all ...
0
votes
1answer
42 views

Images not showing after moving site

I've tried all the options suggested in other similar questions, and I'm stuck. My images are not showing after moving a site from my local machine to another server. I've searched the database, and ...
0
votes
1answer
25 views

Custom Fields Question

I'm new to wordpress and I am trying to understand these custom fields. I read the wordpress codex page refering to custom fields but I have some questions. I take for example my site. I created a ...
0
votes
0answers
24 views

Blog page stripping posts and images

This is how I designed the post to look. Why when viewing it in my blog page does it strip out hyperlinks and the image and formatting? I've already tried disabling plugins.
1
vote
2answers
54 views

Is there anyway to use relative link instead of absolute link?

I have working on xx.xyz.com then my project is move on xyz.com In which I have gave in project the previous link is as below .xyz.com/?page_id=634 And now my link is as belows ...
0
votes
0answers
23 views

random characters on links

Just recently i have noticed same set of stings appended to all my links on pages, where did this come from. if you look on the following page http://www.spectrumasa.com/services/si-time hover over ...
1
vote
1answer
19 views

php to add a link into wp widget without specific url

I'm trying to write a plugin to a specific page that the plugin creates. The issue is how do i add a link to that page from the widget. I know the page but the url has to be picked up from the site it ...
1
vote
0answers
105 views

How to generate a list of all urls

I'd like to display a list of all Urls of my Wordprees site. I print out a list of all taxonomy terms like this : <?php // Get all Post $html = '<h2>Articles</h2>'; ...
0
votes
0answers
21 views

Fixed top-level menu

I'm developing a site which has around 10 top-level pages in the menu and each have 4-5 child pages in the sub-menus. I am giving the site users the "Editor" role which I have customised using a ...
0
votes
1answer
24 views

Menu Structure with Links failure to update

Sorry if this sounds like a newbie question but this is driving me crazy and I can't seem to figure it out. I want to add a link called "About Me" to my Menu that redirects to another website. It ...
0
votes
0answers
15 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
0
votes
0answers
23 views

How can I modify the native LINK quick tag to add my own code?

I want to always add an HTML class whenever I use the LINK quick tag in the Wordpress "New Post" or "Edit Post" screen, to end up with: <a class="external" href="http://www.mylink.com">My ...
0
votes
1answer
196 views

Custom Link In Wordpress Media “Attachment Details” Upload Screen

When you click "Add Media" and from there select an image from that media library screen on the right you get a breakdown (the attachment details) related to that particular image. Right below the ...
4
votes
1answer
53 views

How can I store page ID in a post instead of other selected permalink?

We're using Wordpress as a knowledge base. We just left mediawiki and jekyll for Github pages and reduced the amount of different systems from four to just one. One Wordpress installation for blogging ...
1
vote
2answers
574 views

Add a Menu Link (to a Wordpress Page) in the Admin Menu/Sidebar

I am trying to add a link, in the Admin Sidebar, that links to one of the pages I've created in the PAGES section. For example, I've created an ABOUT page. So in the sidebar I would like a link to ...
0
votes
0answers
28 views

Links from affiliate companies

I am very new to this and have recently set up a website to promote affiliate holiday companies. I am having trouble putting the code from distributive travel but every time I try and put it into the ...
0
votes
0answers
9 views

Craft theme content links are stripped [duplicate]

I'm working with Craft theme and I have a link on in my post. The Link works fine in the post but not on the home page where it is showcased. I was thinking I put it in the post incorrectly at first. ...
0
votes
1answer
39 views

Detect what page was linked-from

Is there a Wordpress way of detecting which post or page on the site you linked-from? The aim is to display custom content, in this case a category archive grid at the bottom of the current page, ...
0
votes
0answers
22 views

add classes to wordpress menu links

As the title already says, I am trying to add classes on the WordPress menu item links (so not the li, but the a element). If it is possible to achieve something similar to WordPress its own function ...