The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
1k 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
478 views

Adding custom url to readmore link using get_permalink()

I am having issues with a custom url. I have a page with a gallery type plugin/shortcode. Now each gallery item displayed on the page, has a readmore link, linking to that gallery item post. Now I ...
0
votes
1answer
44 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
59 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
70 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
74 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
269 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
221 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
132 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
311 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
713 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
30 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
100 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
358 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
97 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
0
votes
1answer
74 views

Get Link to Feed On Term or Taxonomy

Instead of building the link myself, I was wondering if wordpress has a function which generates a link to a given feed, be it a taxonomy, term, or post type. Perhaps it might even generate the little ...
0
votes
1answer
174 views

How to auto strip hyperlinks & images in wordpress post

I creat a post form on front-end for wordpress members by use DJD Site Post plugin. Plugin url: http://wordpress.org/extend/plugins/djd-site-post/ And now i want to auto strip all hyperlink & ...
0
votes
1answer
95 views

Display category page number links for older posts

I was given a task to move the content and certain familiar navigation elements from an old WP-based website to the new one, based on the latest version of WP. The blog page of the old site has the ...
0
votes
1answer
48 views

Automaticly replace a link with other “new link”

I want "a link" in my content "automaticly" replace with "new link" Heres the explanation, in my all post content I want a link of www.lol.com/?http:/rapidshare.com automaticly replace with new link ...
0
votes
1answer
84 views

Disable title link in the backend for non-admins

I need to make posts not editable by non-admins in the backend, is there a way to disable the link in the title of the posts when they view the list of post published? Thanks!
0
votes
1answer
593 views

Blogroll/Lins Menu not visible in my backend?

well, i'm confused. I can't seem to find out why my "Links" Menu doesn't show up in my wordpress admin. I have this in my functions.php file … add_action( 'admin_menu', 'remove_links_menu' ); ...
0
votes
1answer
101 views

Change Rating range in Link Manager

I have looked in here and across the internet but I can not seem to find an answer. Is there a way to change the values of the ratings. By Default it seems to be 0 to 10, but I can not find a way to ...
0
votes
1answer
125 views

Main menu navigation links and new pages

Sorry i'm pretty new on wp, i would like to add new menu links and site pages, to the main top menu bar. I'm using a third parties template, and i see the top.php file which contains the top menu ...
0
votes
2answers
562 views

Linking to page with all posts

I'm new to the Wordpress world. I've read the template hierarchy document and read online, but, I wanted to get feedback from here on what the best way to do this would be. What I'm trying to do is ...
0
votes
2answers
429 views

Authors' Links on Homepage Not Going to Author Post Pages

This problem only occurs with the articles/blog posts on the homepage of the site, readbuzz.com. On the homepage of the site, the author's name is supposed to link to that particular author's post ...
0
votes
2answers
45 views

Short link to read complete post

I am just a newbie to the WordPress. I was just going through the demo sites and I found a website. Here you can see there are couple of posts in a home page and just below the every post there is a ...
0
votes
1answer
121 views

Automatic linking terms

I am trying to link words that show up anywhere on the website to go to a pre-defined internal url. In the post editor the author is able to choose a product from a drop-down menu using custom ...
0
votes
1answer
1k views

Setting a page link in the footer?

What is the proper process for setting a page up with a link to it in the footer? Currently, all my pages are in Appearance -> Menu...and of course displayed in the main menu. However I want a batch ...
0
votes
1answer
483 views

Adding link to dashboard sidebar, nested under custom post type

I hope there is an easy answer for this, as it doesn't seem like it should be difficult and could make my backend much easier for other's to use. I'm trying to add links to custom post types - that ...
0
votes
2answers
499 views

Add class to all links created by tinyMCE

I'm attempting to automatically add a class to all links created when clicking the "link" button in tinyMCE. I've found this snippet in the tinyMCE docs: // Adds a class to all paragraphs in the ...
0
votes
2answers
41 views

Link from Post to Another Post Via Clicking on Words within Original Post

On WordPress (—-.wordpress.com), how can you write a post for example, but then within a post, create a link to another page on your website if someone clicks on a highlighted word? For example, if ...
0
votes
1answer
225 views

Display custom field value as a mailto: link

I'm very confused with an "Email" custom field, how I can make it automatically clickable as "mailto:" link, inside a loop like this: while ( $loop->have_posts() ) : $loop->the_post(); ...
0
votes
1answer
37 views

Modify links in user comments

When a link is posted in a comment, the format is : rel="nofollow" Using a function, how can I change that to : rel="external nofollow _blank" So the links open in a new window?
0
votes
1answer
236 views

How to get Facebook to see YouTube/Blip embeds when sharing a link?

I run a sketch comedy channel that posts new content regularly. On our site (powered by WordPress.org) we embed Blip.tv players. The problem is, whenever we share a link on Facebook to one of our ...
0
votes
1answer
653 views

How do i remove all Bit.ly shortened links from site?

Bit.ly have black listed one site which i linked to which produces a warning. I have removed this link but want to remove all links which i have shortened using Bit.ly Is this possible?
0
votes
2answers
616 views

I want to remove the links from the term list returned by get_the_term_list

I want to keep this category title on my pages, but I don't want it to be a link. <?php echo get_the_term_list( get_the_ID(), 'portfolio_cats', ' ', ' , ', ' '); ?> Can anyone help? Thanks
0
votes
1answer
177 views

Image not showing up in media loader success area - followup

This is part two to this question: Post Specific Uploader I am using an upload filter to put files in a location based on post_id. Now when the file uploads, the URL path in the meta is wrong and the ...
0
votes
1answer
50 views

Link to older links

Im trying to have 5 posts for page in my blog. This is what Ive used in index.php <?php get_header(); query_posts('posts_per_page=5'); // The Loop if (have_posts()){ ...
0
votes
2answers
351 views

Good plugin for managing outbound links? [closed]

I've looked around and around for a good WordPress plugin. I know this is a shopping question, but such an important aspect of managing your WordPress blog, I'm surprised to find that there isn't a ...
0
votes
1answer
105 views

Related posts for a post

For a post we need to maintain a list of "related posts" (links to other posts), and this list should be visible to a user. What is the easiest way to do this?
0
votes
1answer
173 views

2 item in a same menu pointing to 1 page

I have a menu containing 2 item that pointing to 1 page, my question is how do i highlight the top level item according to where i click it. <nav> <ul class="mainNavi" id="menu-main"> ...
0
votes
1answer
52 views

Link to full-size image for subscriber only

I'm looking for a way to disable the "link to full-size image" for people that are not logged in. I would like that people become a subscriber before they can download my full size images. Is this ...
0
votes
1answer
92 views

wp_insert_link not working

Im using this code to insert links into my blog: $linkdata = array( 'link_name' => $title, 'link_url' => $url, 'link_catetory' => 3, // my cat ...
0
votes
1answer
49 views

How to link post titles on page A to its posts on page B?

I set and reversed the order of a list of post titles on my front page with: <?php global $post; $args = array( 'category' => 6 ); $myposts = get_posts( $args ); $reverseposts = array_reverse( ...
0
votes
1answer
372 views

anchor tag in header not working on other pages except the home page

I have a anchor tag that wraps around my logo image that takes you back to the home page using the following <a href="<?php bloginfo('url'); ?>"><img src="<?php ...
0
votes
1answer
59 views

Linked pages from plugin on front can't see $wpdb

I obviously need more knowledge re this one. From my plugin. I have a custom main page which displays my custom db data table of a list of stores. Each store has a "link" ie using a href eg. <a ...
0
votes
1answer
486 views

How to show pages in menu without link

I need to have a menu like this: - a (link to a) -- b (link to b, children of a) -- c (link to c, children of a) - d (NO LINK, #) -- e (link to e) I have the menu composed by the pages, as ...