The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
161 views

Highlight current post type when inside custom post type

I have a custom post type called: "movie" I have only 4 movies in my movies section in the site. Inside each movie post type I want to display all other movies in a side list like so: movie 1 movie ...
0
votes
0answers
172 views

Wordpress : “link to existing content” not shows custom post types

I've seen many people who write for similar problem, i.e. to remove a custom post type on the search box for "link to existing content" on the tinyMCE editor of Wordpress. I've a reversed problem, I ...
0
votes
0answers
34 views

How to create a link for wordpress meta datas?

I would like to create a link for "Leave a comment", which name "quick comment" (here come a ajax comment form on div). How can I do this? I have attached a picture where I'd like to put this link: ...
1
vote
2answers
444 views

Remove all links to a specific website

So, my cousin owns a fashion blog and she recently had a fall out with a brand of shoes and she wants to remove all the links on all posts that point to the brand website. So, is there a way I can ...
0
votes
1answer
42 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
3k 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 ...
1
vote
1answer
856 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
0answers
20 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
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
27 views

Navigational error

Basically I have an image for a header and I changed the link behind that to go to the main website and was planning on making a news option in the menu to link to the blogs main page, after changing ...
0
votes
1answer
64 views

Removing links from posts in WordPress

I have few blogs for some clients. I need to remove links to one of my clients blogs in all posts. Just to be clear I need to remove links and my keyword should stay like it is. I found this plugin, ...
0
votes
1answer
565 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
0answers
38 views

Dynamic links on the fly pointing just to one page

This is quite difficult to explain. I am looking a way to redirect many links to the same page for example example.com/history/ will load a list or the last entries example.com/history/romans/ is a ...
-1
votes
1answer
34 views

Wordpress Customise

I'm looking for a plugin that lets me put a "please wait" message (similar to notebook-driver.com where you're redirected to download link after a few seconds) when people click on certain links. For ...
1
vote
1answer
204 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. ...
0
votes
1answer
262 views

Can I have a link within a WP UI Spoiler

I'm using the WP UI plugin, and have a page set up with spoiler shortcodes so that you can "click to show" and "click to hide". Here's a link to the page in question: http://goinspire.com/faq/ My ...
0
votes
1answer
49 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
46 views

How to achieve anchor links on top of pages.

I have been looking around for a plugin or a how-to but I been unable to find the answer. I am trying to get a box with anchor links at the top of my pages. I can see and example on the official ...
0
votes
1answer
64 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
2answers
1k views

why some permalinks adding characters/ruining links

I am using a gallery to link to some sub categories. Some of the links within the category work exactly how they should. However there are a few that are adding strange characters on the end, I've ...
0
votes
1answer
84 views

Wordpress link to show popup box

I have a button on my wordpress page that is wrapped in tags. Can I edit the link so that when someone clicks on it, it just shows them a popup message box, and stays on the page that they were on? ...
0
votes
1answer
57 views

How do I remove 'www.' from all internal links in self-hosted multisite?

This is my first WP administration (I have inherited this from another developer), so I would appreciate it if you could treat me as a newbie. I have a site with 40 or so pages and all the links on ...
7
votes
1answer
970 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 ...
0
votes
1answer
61 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
87 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
86 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
2answers
69 views

Exclude uploaded files from appearing in the excerpt()

In a post I have some text and some media attachments and when I use the_excerpt(), it strips all the anchor tags from the attachments and shows just their file names and its causing me problems as ...
0
votes
1answer
135 views

Pretty links for PHP pages above WP /blog directory?

I've made a new WP installation in a subfolder /blog, set up with "Post name" permalinks. I'm ready to make several other non-WP website PHP pages which would reside above the /blog directory. I was ...
0
votes
1answer
395 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
0answers
52 views

How do I add a link to the menu that has a charector (?) in it?

I'm trying to add a link to a drop-down menu but it gets lopped off every time. THe full address is https://www.ub-tonlinebank.com/onlineserv/HB/Login.cgi?runmode=REGISTRATION but is stops at ? and ...
0
votes
1answer
18 views

Why links are not linked if edited comment?

I am using the plugin front end editor to edit posts.. This works very well in posts, where all links are perfectly visible if I have edited a post. For some reason, if I edit a comment and there are ...
0
votes
1answer
79 views

Making a thumbnail if there exist a link with. jpg or .png extension in Wordpress

I have changed my question. I was wrong. Check it out I'd say. Is this possible to make a thumbnail if a link contains a .jpg (or .png) extension? I want to make it a thumbnail automatically if ...
0
votes
1answer
77 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
1answer
292 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
0answers
182 views

Changing /author/ link to something else: what is a better way?

Is there a better way than this snippet I am using? function change_author_permalinks() { global $wp_rewrite; // Change the value of the author permalink base to whatever you want here ...
0
votes
1answer
123 views

Turn raw url into clickable links

I have a custom field that contains a bunch of urls in it. I want them to be clickable links in that custom field only. How can I do this? I could just manually convert them to html links but that's ...
0
votes
2answers
609 views

Adding different classes to anchor in navigation menu

Is this possible? I want to add different classes to the anchors, so not the same on all anchors. How can I do this? PS: I am using this: function add_nav_class($output) { $output= ...
3
votes
1answer
2k 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 ...
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? ...
0
votes
1answer
34 views

Permalink / sub-template issue

I've got a WP page with many subpages with their own template. The main template includes them. Each element with its own template can be received with an id and an anchor that is linked to this idea, ...
-2
votes
1answer
1k views

Continuous jQuery Slider / Carousel Plugin with linkable slides [for WooCommerce]

As the title says, I'm in search of a continuous slider for my WooCommerce products I have so far tried to accomplish this using custom post types, (with not much luck, because I'm having trouble ...
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 ...
0
votes
1answer
175 views

featured images - custom links

I'm using the Fusion Elegant Theme, but am having an issues with the featured slider. I added custom "read more" links for my slides. However, where a featured image is assigned, clicking on that ...
1
vote
1answer
809 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 ...
2
votes
1answer
324 views

Remove 'wp-content/themes/themename/' from Image path

I'm currently moving an old website based on some other CMS towards a new server, with WordPress. However, the site ranks good on Google, and I'm have to keep all the link structure, including the ...
0
votes
1answer
116 views

How to get boolean if file A is attached to post B

I created a kind of customer area using several password-protected posts (for more details check this, but it's not necessary for this new issue: Give visitor access to password protected page/post ...
-2
votes
1answer
21 views

Correct way to make a title a link

I made the title of my post excerpt a link to the full content. It works but whenever I validate my website, the validator marks it wrong and shows the message below. I've switched around the h2 tags ...
3
votes
2answers
697 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 ...
0
votes
1answer
2k views

How can I show different image links for different languages with qTranslate?

I have a set of links, each with an image - how can I show different links depending on the language selected (using qTranslate) - the images have text on them.. At the moment I show these links ...
0
votes
1answer
140 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. ...