The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
268 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
62 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
263 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
65 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
471 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
140 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
159 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
109 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
377 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
68 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
753 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
115 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
143 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
721 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
294 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
453 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
1k 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
86 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
2answers
455 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
233 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
1k 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
233 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
12 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
27 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
39 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
83 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
177 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
22 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
35 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
515 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. // ...
0
votes
1answer
751 views

How to add class to anchor using wp_nav_menu

Sorry if my post duplicate but i can't find best solution for my problem. I'm newbie on develop WP theme. Now i'd like to add class to current li and last li, but i don't know how to do? Hope someone ...
0
votes
1answer
37 views

javascripts files not linking to my category slugs?

I have a wordpress custom theme set-up and what i want is to create separate category templates, now seeing the template hierarchy i created the category-{slug} file and now when i am linking my ...
0
votes
1answer
48 views

(resolved) How to show author page link

I have the following code: /*Get number of entries*/ function get_entries_num( $id ) { $count= count_user_posts( $id ); if ($count == 1) { return ...
0
votes
1answer
60 views

How should I add links to other pages/posts from my post?

I'm wondering how should I link to other posts from one of my posts. Ideally I would use a function like get_permalink() but php is not available in post content, so how can I link to other pages ...
0
votes
1answer
57 views

Hiding Media Source Links

I inserted an image onto my page from my WordPress media (Add Media -> Media Library -> Link To = None). However, when I right click on the page to view the source, I noticed the address to my media. ...
0
votes
2answers
59 views

How to disable accessing the custom post types from frontend via a link?

I am registering a custom post type like: /* POST TYPE: SECRET CARDS */ function register_post_type_secret_cards() { $args = array( 'labels' => array( ...
0
votes
1answer
148 views

Confusion about how a URL is being parsed

I have a permalink that leads to some custom content like: http://mysite.com/extra-deal/91103/ That will take you to a page that is handled by the file: category-extra-deals.php On that page I ...
0
votes
1answer
141 views

get_comment_author_link not working properly

I have this snippet: <span><a href="<?php bloginfo('url'); ?>/writer/<?php echo get_comment_author_link(); ?>"><?php echo get_comment_author_link(); ...
0
votes
1answer
345 views

Admin only menu/page

Is it possible to show a menu item If only admin is logged in) For any other user the menu item does not appear. For example: if there are a few pages that have shortcodes or other functionality ...
0
votes
1answer
122 views

Simple form to add custom links to menu?

I currently have a menu set up called "sidebar links" with 5 custom URLs. In my widgets section I have a Custom Menu which shows my "sidebar links" menu. This basically gives my sidebar 5 links. ...
0
votes
1answer
239 views

How to add nofollow on all external links without plugin?

I have tried many plugins, which are doing the thing I want, but they are blocking my other plugins (1 in particular, which is indispensable for my site). Anyhow; how can I add a nofollow on all my ...
0
votes
1answer
516 views

How to re-enable the links manager?

There is no links manager in the admin_menu of Wordpress 3.5.1 anymore. I'm creating a custom add_links_page, and I'm having a hard time with the making a plugin. Do I need to initialize something to ...
0
votes
1answer
29 views

Link a widget or find the php that creates the widgets

I would like to make the entire widget a link. Ideally, I would like to find the php file that has created the widget and then modify that. Q: Is there a way to backtrace the HTML to find what php ...
0
votes
1answer
29 views

Automatically deactivate link for attachments

It's probably super easy. I know it can be done when uploading stuffs to WP but I wonder if there is a simple snippet or setting to automatically deactivate link on attachment. For example : I do ...
0
votes
2answers
85 views

Get all children titles of a page as a link to them

I want to pull all the children titles of certain page and put them as a link. This is what i got so far: $my_wp_query = new WP_Query(); $all_wp_pages = ...
0
votes
1answer
255 views

Why does wp_links still exist in the db schema?

I understand that links used to be a big thing when Wordpress came out and during the blog rise, but the link feature is so underused nowadays that as of version 3.5 it is hidden by default (thus ...
0
votes
1answer
88 views

Internal linking to posts permalink fail because of spaces and stripe at postname

I have written a function which outputs a tag in a textarea in which people can link internally to other posts on the website. This works like a charm except with using a postname permalink ...
0
votes
1answer
18 views

Links In Sidebar not displaying

Ive placed a link in the sidebar, however its not showing up at all! Any ideas? The link is the blackburn text in the post. http://pcdconsultancy.co.uk/ thanks Kirsty