The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
2answers
1k views

How do I customize my WordPress shortlink structure in link-template.php without a plugin?

Right now my shortlink structure looks something like this: example.com/?p=451 I would prefer it to look more like this: example.com/abc123 Any ideas how I can alter the code to do just this?
1
vote
4answers
1k views

Create anchor from Wysiwyg editor

Is there any way to create internal anchors without using the HTML rendering option? I don't mind but I guess my customer will ;) Thanks!
1
vote
1answer
1k views

Relative instead of absolute links in pages?

I have my blog under blog.mydomain.com. I am using pages for some static content that needs to be accessed from another subdomain. So careers.mydomain.com will show WordPress content from ...
1
vote
1answer
2k views

Image as a link using wp_nav_menu()

In creating a custom navigation menu in TwentyTen ( WP3.01), is it possible to make an image a link to a page on the same site, using wp_nav_menu() ? Is it the case that wp_nav_menu() echos or returns ...
1
vote
2answers
852 views

How to enable category hierarchy for links?

It looks that by default WordPress had hierarchy only for page/post categories and not for links categories. How can I enable that?
1
vote
1answer
83 views

How to convert all links to no follow links of particlular section of a webpage

I just wanna convert all links to no follow links which are being displayed in sidebar or footer or comments. How can i do this?
1
vote
1answer
91 views

wordpress count link clicks by ip address

I am building wordpress web site, which will have an option to download zip file from certain custom post type. By clicking on download button, user automatically starts with downloading zip file. ...
1
vote
1answer
19 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
2answers
83 views

Get_post_meta() won't return value

Ok guys... I'm sure this is going to be a really easy answer. I'm a complete noob at this. I have a custom field that is supposed to return a link. For some reason, it just redirects me back to my ...
1
vote
2answers
38 views

After duplicating site to a sub folder, links send user to original site

I wanted to duplicate my WordPress site, and make just a few small changes to the duplicate. However, after duplicating the site, I have had problems with the links sending the user back to the ...
1
vote
1answer
29 views

Related Links Page with moderated, user suggested link submissions

Updating an old dinosaur of a site to Wordpress (3.5.1),   one of the more popular pages on the old site is a “Related Links” page with links for and about kids. (e.g. fitness, nutrition, ...
1
vote
1answer
95 views

SEO smart plugin not working for words ending with ä, ö, å

Custom keywords don't get linked if words end with this letters : ä, ö, å It works if those letters are inbetween. any idea how to fix this? Custom Keywords : meäts, www.google.com ...
1
vote
1answer
173 views

Adding (blog-specific) links to “My Sites” admin page

The My Sites admin page only has links to the sites’ dashboards and production pages which is of limited value. I am trying to figure out a way to add a more useful links to them like New Post, ...
1
vote
1answer
44 views

Links are not working on All Plugins Page

I apologigize for the question, as it sounds silly. But I am forced to ask this question, as I didn't find it's answer anywhere. I have about 3 sites on WordPress, and 2 are working absolutely fine. ...
1
vote
3answers
2k views

Build a list of partners with Link, Logo and text

I want to build a list of partners. At the moment, I have tried with the "links" function, the problem is that I can't use html tags on the description field. Therefore I'm looking for another ...
1
vote
1answer
3k views

Customize the Wordpress Default Gallery Output

I want to customize the Wordpress default gallery so that it would format as something like this for each item: <dl class="gallery-item imgteaser"> <a rel="lightbox-cats" ...
1
vote
1answer
1k views

Change website URL without breaking links or images? WP 3.3

I am using Wordpress 3.3.2. Currently I am working on a website in a dev folder on my domain, dev.domain.com. Upon creating pages and blog posts, it just occurred to me that when I move the WP ...
1
vote
1answer
504 views

How to add a Wordpress page with multiple picture links?

I'm new to WordPress.org and currently I'm making a food recipe website. What I want to do is to create a menu with different categories, eg Pork, Seafood, beef etc and when I clicked into each ...
1
vote
1answer
30 views

Enumerating over a category of links

I need to show a list of links, similar to what "Bookmarks" widget does. But Bookmarks widget is not suitable, because I need to display links (with removed "http://") instead of titles and also ...
1
vote
2answers
2k views

Separator for custom nav menu

I creating a custom footer navigation in wordpress. I looked all over the wordpress documentation and still haven't found anything. So, what I'm trying to do is add an "|" in the navigation like this: ...
1
vote
1answer
490 views

Problem with meta box in Links

I have troubles saving the data of the meta box in the link part of the admin. My code is working, because when I try it in the post or page part, it saves the data, but in Links it just won't. Here ...
1
vote
1answer
77 views

Displaying a full post instead of a slug per category?

I have a single category on my blog that I want to display full posts in when looking at the category instead of just slugs. The category is for Podcasts, and presently it displays slugs which: ...
1
vote
1answer
498 views

Twitter links in widget don't work?

I am displaying a twitter feed on my homepage: http://www.fairwaterrights.com The feed works fine. But if I click on a link in the twitter post, it doesn't open. For instance, instead of opening ...
1
vote
2answers
256 views

Adding existing links to custom navigation menus?

When I visit Appearance → Menu, I can add custom links, but not any links I've already created under Links. How can I do this?
1
vote
2answers
142 views

Links in nonalphabetic order

On wordpress.barrycarter.info, the links sidebar is in alphabetical order by category ("My ... Stuff"), which looks weird for "My other stuff". How can I order the link categories myself?
1
vote
1answer
205 views

Replace default Blogroll Links with Social Media Links

I'm creating a script that will remove the default "Blogroll" links in Links manager and replace them with an arbitrary listing of links, each with a custom css style name. It my case, I'll be ...
1
vote
1answer
2k views

Link Attachment Image to Category

How do you link an attachment image to its category? function wp_attachment_image($size = thumb) { if($images = get_children(array( 'post_parent' => get_the_ID(), ...
1
vote
0answers
23 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
vote
1answer
59 views

Generate Random Post Links Somewhere in the post

I have a little probleme on which I really need help :( . So, I need to create in my wordpress' post something that I call "You may also like to read"! Let me tell you more about this: For example, ...
1
vote
0answers
39 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" ...
1
vote
1answer
33 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
295 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>'; ...
1
vote
2answers
1k 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 ...
1
vote
0answers
21 views

How to get rid of the strange sizing of links around posts? [closed]

I am currently running into a bit of a problem on my Wordpress site. I am designing a theme using the Bones framework, and after working for a while I have discovered a weird bug with links. Any time ...
1
vote
1answer
7k views

Add custom menu item using wp_nav_menu_items filter

I have added a snippet to add a "Profile" link to my website navigation menu. My code: add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link'); function my_nav_menu_profile_link($menu) { ...
1
vote
0answers
130 views

How to customize the “Insert/edit link” popup box?

is there a way to customize the "Insert/edit link" popup box in the editor so that it does something like this: Have a checkbox that says "Insert affiliate tag at the end of link" If the checkbox is ...
1
vote
0answers
38 views

How to apply default post categories to link manager plugin

I have a project with several custom post types - all sharing the default WP post category taxonomy. I would like to add the link manager plugin (Formally built into WP pre 3.5) to manage links - ...
1
vote
1answer
2k views

In Woocommerce theme need to add custom external link

I am new in Woocommerce plugins and i have requirements that in External/Affiliate product there is one "Product URL" field that is linking in to external url of "Buy now button". Now i want that ...
1
vote
1answer
240 views

Add / Remove Post Type from “Link to existing content” popup

I would like to be able to remove a custom post type AND add attached media (PDF's, Images, Docs, etc) to the "Link to existing content" in the Add / Edit link popup in the WYSIWYG editor. ...
1
vote
1answer
48 views

Is it possible to paste a link without tags and make it directly a link in a post?

So for example: if I post http://testeteststetetst.com, it won't make it a link if it's a post. If it's comment, it does make it a link... Now, I want it for posts too.. Is this possible, if so, how? ...
1
vote
1answer
227 views

How can I find all internal links that are pointing to post/page?

I have deleted a page and now I want to find all internal links that are pointing to this deleted page. So I need to know which posts/pages have a link to the deleted page. Is there a faster way to ...
1
vote
0answers
146 views

Parent/child pages and link structure the right way

I've always wondered what's the best way to achieve the following with pages. Say I have a (part of a menu) that looks like this: What we do Design websites Develop websites SEO The 'What we ...
1
vote
1answer
99 views

How do I get link URLs from the Wordpress links backend into an array?

I'm currently running a blogroll on a site I'm working on by defining a variable with an array that has all the rss feed urls I want to pull from. Like this for example: <?php // Get RSS Feed(s) ...
1
vote
0answers
101 views

Older entries link within category page

I am building a custom wp theme and I have a category called 'blog'. On here I have all of my posts displaying from the category 'blog' and a link at the bottom that says older entries. When i click ...
1
vote
1answer
146 views

How to add subcategories to the blogroll?

I'm looking for a way to create subcategories in my blogroll... For example: Downloads -> Windows -> Mac -> Linux I want to create a real page (not a widget) where the main categories and ...
1
vote
0answers
74 views

Link Pop-up in custom plugin

I am trying to build a plugin, for one of my current task, and at a field it requires user to provide the URL their content would link to. I have added a text-box where user could paste the link they ...
1
vote
1answer
50 views

Combining post categories and link categories?

So as to get a single index of both internal posts and external links on the same or related topic/subject matter, is it possible to combine post categories and link categories? I would like to be ...
1
vote
1answer
340 views

Style category link depending on category ID

I want to style a link depending on its ID, for instance, if the category ID is 2, then I want the link to be pink. My theme calls the category like this: <?php if (in_array('categories', ...
1
vote
1answer
345 views

custom menu widget where menu title is a link

I am looking for, like the title of this question indicates, a custom menu in wordpress where the menu title itself is a link. It seems like a very simple thing, but after a lot of searching I've come ...
1
vote
1answer
216 views

Any way to assign Post Categories and Tags to Links?

I would like to assign post categories and post tags to the links in my 'Links' section, and (ideally) remove the link categories feature since it would be redundant. Anyone know how to do this?