The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
3k views

Insert <a href=“#”> Tag Using PHP [on hold]

I have existing code in my theme but my problem is I can't figure out where to place an <a> tag so I can link it to the page I want. php code <?php global $post; $slider_cats = ...
0
votes
2answers
385 views

Create custom links for excerpts with php dynamically

Good Day I am using excerpts in my wordpress theme. Now in wordpress's documentation, they say wordpress does not automatically add links for the excerpts, you have to manually add them like this: ...
0
votes
0answers
7 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
1answer
11 views

create custom links to featured image of the post [on hold]

I am using u-design theme. I am finding difficult to add custom link (url) to the featured image in the post. I am looking for a script or function to add custom links(url) (internal or external) to ...
0
votes
0answers
15 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 ...
-2
votes
0answers
17 views

My top nav links are not working in IE or Firefox. Does anyone know why? [closed]

It seems like my top nav links are not working in IE or Firefox but it does work in Chrome. Here is a link to my website Please test it in Chrome, Firefox, and IE.
2
votes
1answer
1k views

Issues creating a tinyMCE plugin that creates a custom link

I'm working on a plugin that works similar to the "link" button on tinyMCE: The user highlights text -> presses a button -> enters text into a box in a thickbox popup -> submits the form -> the user ...
0
votes
1answer
26 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 ...
0
votes
1answer
423 views

Automatically search and replace link in content (pages/posts)?

The users of my site mainly share documents by inserting links into content (pages/posts) using the built in editor. These files include everything from pdfs to word documents. The users currently ...
0
votes
1answer
324 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
1k 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
110 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 ...
1
vote
2answers
147 views

How to show Disqus comments and pingbacks?

I use disqus to handle comments on my blog. I also like to have pingbacks from various posts back and forth to each other (and from outside sources. However, I noticed today that while the comment ...
1
vote
1answer
239 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 ...
2
votes
1answer
254 views

How to hide a customization link themes menu in wordpress?

Anyone know how to hide or remove customization menu in wordpress? The link menu seen in OPTIONS:Widgets Menus Theme Options and Appearance -Theme -Widgets -Menus -Theme Option -Editor ...
-2
votes
0answers
16 views

Add link with title to a widget

I Have a widget that I need to add a link for the users. I want a title for the link to show ( Friend ) and be able to attach a link to it. The rest of the widget works except i cant figure out how to ...
3
votes
2answers
2k views

Wordpress: How to get the current logged in author page URL?

Is there a way to display, via a PHP function, the author posts link (myblog.com/author/jason) of the current logged in user ? In fact, I would like to display, for every logged in user, a "My ...
2
votes
1answer
41 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
58 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
votes
0answers
21 views

Image mouseover to another image?

Man this seems way too hard. I have the basic jquery bootstrap 3 mouseover working fine with WP. I have told our graphics people to just paste it in and add links where they need... works fine. But ...
0
votes
0answers
26 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
1answer
30 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
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
384 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
0answers
29 views

Stop wordpress automatically abbreviating the domain url

I'm trying to include webtrend js script in the footer template <script type="text/javascript" src="<?php bloginfo('template_directory'); ...
0
votes
0answers
19 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 ...
0
votes
1answer
15 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
0answers
12 views

Linking Images to Post Page from Categorized Gallery

I used the code from this thread to create a plugin that automatically makes a gallery out of images attached to posts with certain categories. It works great, but now I want to make the images link ...
2
votes
1answer
376 views

Menu Link Redirect Based on Username or User ID

I am building a client portal where my clients can log in and see all their pending projects, completed projects and create new projects. Though I'm stuck at the start. The dropdown menu is called ...
1
vote
0answers
18 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 ...
0
votes
0answers
19 views

On main page link image to post page, on post page link it to it's own image?

I'm using a lightbox plugin that blows the image up to it's own window when an image is clicked. I want this behavior to ONLY happen when the image is clicked on from it's POST page. When the same ...
0
votes
1answer
22 views

Surround uploaded image link with div

When you upload image you have smth like this <a href="http://vitya/wp-content/uploads/2014/06/8.jpg"> <img class="alignnone size-Small x Big wp-image-65" ...
0
votes
1answer
12 views

Featured Images link to post parent

I want to reuse featured images for new posts. So a single featured image from the media library is attached to more than one post. When i use post_parent ); ?> on the attachment page to go back to ...
0
votes
1answer
37 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
0answers
23 views

Wp plugin modification

i find a wp plugin what replace the external links, the problem is only check on post content, but not on fields in postmeta, this is the code what checks on post content: //returns content of post ...
0
votes
1answer
18 views

link header to homepage (for wp multisite)

I am using the genesis framework and have added this code to change the way genesis uploads a header image: remove_action( 'wp_head', 'genesis_custom_header_style' ); add_action( 'genesis_header', ...
5
votes
6answers
6k views

Disable image attachment links

Is there a way to disable image attachment links trought a filter in functions.php or something ? I know it's possible to do it manually when you add an image to a post but I want to disable this ...
0
votes
0answers
26 views

How to Add A Rel Filter to All Links?

How can I add a filter in the functions.php to all links tags? Basically I am needing to add a rel="tooltip" to all my anchor tags within WordPress. I appreciate the help. Thnx
1
vote
0answers
24 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 - ...
0
votes
0answers
25 views

Links redirecting to localhost after migration to server

I developed a website on my localhost and migrated it to my web server. The site displays mostly everything on the home page (I lost some font settings as far as I can tell) and all the content seems ...
1
vote
1answer
66 views

Relative links for performance?

I have a blog out there, for the sake of this answer you may take a look at it: http://blog.alphasmanifesto.com/. I'm currently working my way through some performance optimizations. As you may see, ...
0
votes
0answers
20 views

Page number in wordpress Link Manager Admin panel

1- Enable Link Manger in Wordpress 3.9 with this plugin: http://wordpress.org/plugins/link-manager/ 2- I have about 1200 Links in my Link Manger! all links are displayed on one page by default, And ...
0
votes
0answers
43 views

Logout link not working

My logout link is not logging me out. May be I am missing something. I tried the below links which is generated by wp_logout_url(site_url()). But still I am logged in. ...
1
vote
2answers
37 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 ...
0
votes
0answers
19 views

Make first child link default instead of its parent

I want to do something like this: if a parent have kids get page link of the first child else get page link of itself. For example: Page 1 Sub-page 1 (get this link) Sub-page 2 Sub-page 3 Page 2 ...
0
votes
0answers
14 views

I would like all rel=author links to lead to Google+, but those on my homepage lead to the WP author page

Is there a way to achieve this (best case, without an additional plugin)? Currently I don't use any extra Google+ authorship plugins (most likely it works through JetPack).
0
votes
0answers
13 views

Add hyperlinks in media description

I want to add hyperlinks in the description box of a media file in the library but it won't display hyperlinks for some reason. It displays text but as soon as i put a href it hides it. i'm using ...
0
votes
2answers
90 views

Add next and previous post links on pages like category, tags or archive pages

I am trying to find a solution for getting next pages for category or tag page in WordPress, tried with next_posts_link and previous_posts_link in these pages, but it's not working. Same functions ...
0
votes
1answer
317 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 ...
7
votes
1answer
522 views

How to use “Add link” pop up for a WordPress widget

In the WYSIWYG editor of WordPress you get pop up if you want to add a link for a text. Is there a possibility to access this functionality? Because I want to use this pop up for a WordPress widget ...