The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
479 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
262 views

Can change twentytwelve_entry_meta “by-author” links?

In the Twenty twelve theme, the twentytwelve_entry_meta() function shows "by-author" links (i.e., the ones that have the title "View all posts by xxxx") by using user_nicename. So when a "difficult" ...
0
votes
2answers
32 views

Previous and older set of posts links

I can't seem to display previous and older set of posts links. This is the page I am working on. I need a link to older and newer posts at the bottom of page. The template code is like this: ...
0
votes
1answer
333 views

How to get category slug link? ( include parent categories)

for example, if main category slug is cars; sub-category slug is: Ford; how to get the permalink of Ford, including its parent categories' slug? ( get_category_link() returns mysite.com/?cat=19 type ...
6
votes
1answer
61 views

Modify links when inserted by WYSIWYG editor

Is there any possibility to hook into the editor of WordPress so that if a link to an internal content is inserted via the WYSIWYG editor the post id of that linked post is added as a data attribute ...
0
votes
2answers
516 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
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(); ...
3
votes
2answers
67 views

Turning Broken URLs Into Search Terms?

I'm migrating a Typepad install to a Wordpress subdomain, and most of the links will be broken. The rewrites work so that: http://mainsite.com/blogs is rewritten to http://blogs.mainsite.com If ...
0
votes
1answer
11 views

Add link within Staff excerpt to read more (not standard “Excerpt” function?) [closed]

This is my other desperate question - all support for this theme (Accio from ThemeMakers, purchased on Envato) suddenly went dark with no website for the developer, no support forum or ticketing ...
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 ...
3
votes
1answer
530 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
1answer
280 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 ...
4
votes
2answers
61 views

Portable Post Links

I quite often run into a situation where I develop a site on a staging domain, have my client fill it there with content, and then when everything's approved move it to production. Now, my ...
0
votes
2answers
276 views

Link to Portfolio page by id instead of name

I'm trying to make a dynamic button that goes to portfolio page (no matter what ID/name it has), it's currently like this: $portfolio_page = get_option('theme_portfolio_page'); $portfolio_pid = ...
-1
votes
0answers
7 views

Retrieve a link from a text and use that link in a page?

The subject describes the matter, I think. Using an API, I'm provided a link that changes often, that I need to serve in my WordPress blog. I can easily cron a wget to get me the file. The question ...
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
0answers
13 views

Exists filter or action that change Add New Post link?

I want to know if exists some method from filters or actions to change the link of the Add New button in backend , for example the regular url is http://wordpress_install/wp-admin/post-new.php but I ...
1
vote
3answers
36 views

How to use wp_rel_nofollow to add nofollow to external links only?

I want to add nofollow attribute to only external links in the content of the post. Internal links should stay follow. So, can I use wp_rel_nofollow() to make only external links nofollow? Or do I ...
0
votes
0answers
15 views

Get link to top-level parent category of post

I am trying to create a link to the top-level parent of a given post. Many of my posts are in sub-categories. I intend to place a 'root category' image that links to the root category. I have tried ...
0
votes
1answer
24 views

Custom taxonomy applied to links [duplicate]

is it possible to apply a custom taxonomy to links? if so how? i already did this, but it does not seem to work: $labels = array( 'name' => _x( 'Lessons', 'Taxonomy ...
1
vote
2answers
122 views

Add CSS Class to Link in TinyMCE editor

In searching for a solution, I've come across the plugin to enable a dropdown of CSS styles already present within a stylesheet. What I want is to allow the editor to add CSS Classes from a textbox. ...
0
votes
2answers
40 views

List all taxonomy terms / Show links if posts are attached, else names

I'm looking for a way to list all the terms from a custom taxonomy. Only the terms that have posts attached to it should have links to the archive page. If there are no posts attached it should only ...
0
votes
0answers
31 views

How to display different content on page based on parameters sent for index.php

I have created a novice WordPress theme. On the main page that is structured based on index.php (not index.php of the site root, but rather index.php within my theme folder). The problem I have is as ...
0
votes
0answers
19 views

Link rewrite to https (NOT URL rewrite)

Client is running WordPress 3.9 on a Mac OS X Server install. We want the site to be responsive to both http and https requests. Luckily, OS X Server has a nifty feature where we can just set up a ...
0
votes
0answers
34 views

How to add automatic remove links/href from image for wordpress post

I have in the function.php own css style but I need to remove links automatic add_filter('the_content', 'add_image_responsive_class'); function add_image_responsive_class($content) { global ...
-1
votes
1answer
28 views

Link from navbar to categories

I have a navigation bar in homepage. I don't want show categories in navigation bar. I also do not want use a dropdown menu. I just want to have a link to a page that show all categories. I want ...
0
votes
1answer
61 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
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
0answers
318 views

How to create a link to a user's profile page

I've created a user list for all the customers who registered on my website. When a outside user (or guest) browse my website and want to view the profile of a specific user, they should be able to ...
0
votes
1answer
17 views

redirect “about author” code to about page

I'd like to redirect/change this code <a href='" . $wp_about_author_author['posts_url']. "' title='". $wp_about_author_author['name'] ."'>". apply_filters( 'wp_about_author_name', ...
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 ...
5
votes
6answers
7k 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
13 views

How to use <!--nextpage--> and local links <a href=“#info”> tags in tandem

I am two days old in the wordpress world and I'm stuck with an apparently simple problem. In my old site I had a long-ish privacy policy page that used local links extensively. <a ...
0
votes
1answer
25 views

change link of menu particular tab

Wordpress theme - Twenty Twelve. I want to change link of menu. Current --> No link. Required -->#about (link for particular tab only) I've tried to change link from menu tab (Apperance ...
0
votes
4answers
45 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
2answers
23 views

Two domain site: Link base URLs point to wrong domain

I have been running domain.co.za, but recently purchased domain.com. Both domains now point to the same Wordpress site. On domain.com pages all the links point to domain.co.za and on domain.co.za all ...
0
votes
1answer
39 views

Images not showing after moving site

I've tried all the options suggested in other similar questions, and I'm stuck. My images are not showing after moving a site from my local machine to another server. I've searched the database, and ...
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
0answers
24 views

Blog page stripping posts and images

This is how I designed the post to look. Why when viewing it in my blog page does it strip out hyperlinks and the image and formatting? I've already tried disabling plugins.
1
vote
2answers
48 views

Is there anyway to use relative link instead of absolute link?

I have working on xx.xyz.com then my project is move on xyz.com In which I have gave in project the previous link is as below .xyz.com/?page_id=634 And now my link is as belows ...
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
0answers
21 views

random characters on links

Just recently i have noticed same set of stings appended to all my links on pages, where did this come from. if you look on the following page http://www.spectrumasa.com/services/si-time hover over ...
0
votes
1answer
479 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 ...
1
vote
1answer
17 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
1answer
2k views

Link submission website (ala Reddit)?

Pligg sucks, Hotaru CMS is dead and I'm not sure if the Nominate theme is what I want. Basically I'm trying to create a link submission website like Reddit with WordPress, this would basically mean: ...
1
vote
0answers
65 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>'; ...
4
votes
1answer
52 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 ...
0
votes
0answers
21 views

Fixed top-level menu

I'm developing a site which has around 10 top-level pages in the menu and each have 4-5 child pages in the sub-menus. I am giving the site users the "Editor" role which I have customised using a ...
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
3answers
497 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 ...