The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
63 views

Exclude uploaded files from appearing in the excerpt()

In a post I have some text and some media attachments and when I use the_excerpt(), it strips all the anchor tags from the attachments and shows just their file names and its causing me problems as ...
0
votes
1answer
2k views

How can I show different image links for different languages with qTranslate?

I have a set of links, each with an image - how can I show different links depending on the language selected (using qTranslate) - the images have text on them.. At the moment I show these links ...
0
votes
2answers
818 views

link to single most recent post, regardless of category

I have a landing page that, among other things, features an excerpt from the most recent post with a "Continue Reading" link that should take the reader to the most recent post. In my search, I've ...
0
votes
1answer
39 views

Format HTTP links

I have a custom page template creating an xml feed found on a WP page at http://example.com/xml/ I am trying to access this xml document via Google Maps but it appears I need the actual file name ...
0
votes
1answer
2k views

How to modify the Register link in the login page?

This is probably very simple, but I would like to add a hook to my theme's functions.php file in order to change the Register link on the login page (wp-login.php). How would I do that?
0
votes
1answer
721 views

Change description of my Jetpack facebook shared links [closed]

When I try to share a link from my WordPress site on facebook using the Jetpack Sharing Settings the link shows up like this: (My Featured image picture here) Put a hat on yo’ baby! | Trendz with ...
0
votes
2answers
1k views

Make Current/Active Page Number a Link (WP_LINK_PAGES)

With the default wp_link_pages the current/active page number is not a link. I would like to find a code/hack which turns the current/active page into a link to the top of the page. I am already ...
0
votes
1answer
292 views

Clean links in: the_author_meta('description')

I need to clean any links returned from the_author_meta('description') The code I use is simply that: <p><?php the_author_meta('description'); ?></p> I Searched old question but ...
0
votes
1answer
228 views

Do you use links?

DO you use links in your wordpress and why? Isn't it much easier to use you browser's bookmarks? I don't get the idea of having links at all! Please enlight me!
0
votes
1answer
274 views

Conditional Display of Links in Widgets

I want the links widget in my sidebar to display links based on the page the user is on. For example, if the user is on the home page I want it to display link1, link2 and link3. But if the user goes ...
0
votes
2answers
74 views

Can WP give a value a post ID?

So I have queried out some data from another DB and obviously they're not a post which means I can't use the standard permalink to link them to an existing page with it's post type. So I thought that ...
0
votes
1answer
564 views

How can I link to the most recent post in a category?

How can I create a link to a category--to it's most current/recent post? I want to display the actual post. I do not want to display the category with one post listing in it.I'm going to be really ...
0
votes
1answer
68 views

Can't get full post title if there a spaces in title

I want to make a custom query that checks the post title and puts in a different URL like this: <a href=bing.com/search?q=<?php echo single_post_title(); ?>>Blablabla</a> But it ...
0
votes
2answers
543 views

A link (not in the post) to download a specific PDF file

I want to add a button (or rather, a link formatted to look like a button) in the utilities area somewhere above the main navigation menu of a WordPress-based business site (that is, not in the body ...
0
votes
1answer
172 views

Adding a user's ID behind the <a> tag ref link address

Good day, everyone: I want to make wordpress to add the user's id number behind the ref's link string, so that, for example <div class="toolsbutton"> <a ...
0
votes
1answer
335 views

Adding a text link under the post title in the lists of posts

I made a lot of changes to my WP settings and now, when I approve and publish pending posts, authors have one hour to modify their articles. After the hour has gone the edit link disappear and they ...
0
votes
1answer
167 views

how to show Author information in search results

Google search result does not show author information or thumbnail images. the source code look like this <link rel="author" href="https://plus.google.com/115911773396772351667/posts"/> ...
0
votes
2answers
116 views

Moving a wordpress.org website to another domain name?

I currently have a wordpress.org website on a server with a specific domain name. I would like to move it all to a server with another domain name as I have changed my company name. What is the best ...
0
votes
2answers
430 views

trouble with page_id & highlighting current page

I'm using the below code to highlight the page name/gallery shown when the corresponding link is clicked on. My challenge is that regardless of what link I click, only the very first ...
0
votes
1answer
73 views

WordPress relative links for regular non image links

Is there a way to do normal links in WordPress (not image source links) in a "relative" manner?? Im doing custom site in WP and some portions of the site, for example an image link that when clicked, ...
0
votes
2answers
49 views

how do I get rid of the links and all the links related menu items on the admin ui?

Since I won't be using the built-in links feature of wordpress, I see no reason in keeping its related menu items on the admin ui causing nothing but clutter. How do I do that?
0
votes
1answer
887 views

Internal Links to Pages in PHP?

What is the best way of linking to WordPress pages with PHP? Considering that I move the page from a local server to a live server to another URL? <a href="/wordpress/services" title="Read More" ...
0
votes
1answer
117 views

javascript and css links not working on sever

I have some Jquery links in my header. First off I am probably not using the proper wordpress function to do this. Right now on my site the code that is below is not working. These links aren't there, ...
0
votes
2answers
144 views

Clicks registering on Preview DNS site

I set up my site on a PreviewDNS, I have since pointed my Domain to the correct place and changed all the links to non-previewDNS links. However I can see (using Jetpack) that visitors to my site are ...
0
votes
1answer
760 views

Is there an easy way to create a links index page?

Essentially I want this... http://oldtimemusic.com/otlinks.html I want to have an index of letters each pointing to a page with links for that letter along with a description. I'm wondering if ...
0
votes
2answers
300 views

Get paged category link programmatically

I want to get the link to a category (specified by id) but with a paged value (e.g. page 3 of category id 4). I was looking into get_category_link()Codex, but it only returns the link to the first ...
0
votes
1answer
475 views

How do I make Wordpress “Page” link in the top nav bar go to an external URL?

I would like the Wordpress page link as shown here go to an external URL instead of going to page. What is the best way to set this up? I'm running Wordpress 3.1.3. Thank you.
0
votes
1answer
2k views

How to get category/tag in URL for Pagination links?

I have a custom pagination function in functions.php. If I'm at the URL: http://mysite.com/tag/dogs, the Next link currently just contains /page/2. How can I make it so it will look like ...
0
votes
1answer
87 views

Trouble getting the Blog page to show up correctly

I'm having a completely new problem and can't figure it out so I'm hoping someone can help me. The website is http://www.talkingdogtemplates.com. It's a big site that uses WordPress as a CMS ...
0
votes
3answers
498 views

A plugin for having rel=“nofollow” in posts?

I'd like to make all the links in posts on one of my sites to be with rel="nofollow" on links inside posts. I wasn't able to find a plugin that did the job except for WP-NoExternalLinks. It also ...
0
votes
1answer
242 views

Remove a href from this code

I am using a short piece of code(which is modified, originally it was a plugin-Taxonomy Terms List) to display custom taxonomies after the post, When the terms are displayed, it is displayed with a ...
0
votes
5answers
2k views

Is there any way of changing the post order via user click?

Is there any way of changing the post order, posts number, etc via user click? The same way you can choose displaying questions by time and vote here at StackExchange. How to accomplish that?
0
votes
1answer
167 views

How Do I Link My Whole Featured Article Image?

I'm using the Front Slider plugin to display featured articles on my site. I've done some editing to the plugin to make it look the way I want. Somewhere along the way, I must have missed changing a ...
0
votes
1answer
251 views

How would I add a link to the profile editing page of the dashboard?

Our passwords are handled by an external LDAP server and the plugin we're using to therefore removes all references to the ability to change passwords. What I'd like to do then, is add a link to the ...
0
votes
1answer
19 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(); ...
0
votes
1answer
15 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
1answer
62 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
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
4answers
47 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
1answer
23 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
1answer
19 views

Can I generate then display a mixed list of linked and unlinked terms

Does anyone know a straightforward way to display a mixed list of linked and unlinked (custom) terms, dependent on whether there is more than one instance of a term being used? i.e. I have an item ...
0
votes
1answer
141 views

Dynamic logo/banner depending on affiliate link

i am building an affiliate site using woo commerce and wp affiliates. There will be a network of 20-30 affiliate sites linking back to main site. I need to display the logo/banner of the referring ...
0
votes
1answer
77 views

Delete link on single-custom.php with redirection

I need to provide a delete link for my users on the single page of a custom post type. But when the entry is deleted the user will end in a nothing found on this page wordpress error (because we are ...
0
votes
1answer
134 views

Best way to add internal link in widget

I'm looking for a way to transform a static piece of code into a widget to display in different sidebars containing a simple internal link. The basic code is: <div class="my-link-box"> <a ...
0
votes
1answer
245 views

Customise wp_List_pages to output a UL LI

I am trying to get my pagination for posts outputted as a list. ie: UL > LI > A. <?php wp_link_pages(); ?> I see that I can add a UL easily enough by editing the $defaults but I cannot seem ...
0
votes
1answer
24 views

Opening Menu link in another tab

I am adding a link to my Menu: Everything is working correctly except I would like the link to open in another tab and can't figure out how to. How would I do this?
0
votes
1answer
121 views

Highlight current post type when inside custom post type

I have a custom post type called: "movie" I have only 4 movies in my movies section in the site. Inside each movie post type I want to display all other movies in a side list like so: movie 1 movie ...
0
votes
1answer
41 views

Put password on a wordpress link in a article

I've trying to find out how to do this in wordpress and I've searched the web, but I can't find any easy way to make my visitor only see one link if they enter a password to be able to see it. Is ...
0
votes
1answer
2k views

Active class to current link

How do I add the active class to the current link that the user is viewing? I have a mixture of pages and custom post types in my main nav menu and I know that wordpress has .current_page_item that ...
0
votes
1answer
734 views

wp_redirect not working on admin menu page

Im trying to create a admin menu link on the backend dashboard, that will take users to the front end of their site. Im trying to use this code, but for some reason the redirect is not working. // ...