Apart from the obvious meaning, `link` in the WP context also stands for a special post format. Please use the `permalink` tag for questions about the url structure of a site.

learn more… | top users | synonyms (1)

1
vote
0answers
19 views

get_adjacent_post by language

I am using Polylang plugin, which assigns each post to a taxonomy 'language'. While using get_adjacent_post() I want to bring only those posts that belong to the language currently displayed. So I ...
1
vote
0answers
14 views

display archive as collapsing links

I would like to output the following - 2015 -October - my post is good - another post September - 2014 - January -February I want to be able to output a nested listed of the ...
1
vote
0answers
12 views

Add text excerpt and pictures to hyperlinks?

Is there a way to automatically add text excerpts and perhaps also pictures when one adds a hyperlink into ones post? A bit like when you e.g. share hyperlinks on LinkedIn? Thanks for any suggestions ...
1
vote
0answers
53 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
0answers
42 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" src="../../resources/...
1
vote
0answers
934 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>'; query_posts('&...
1
vote
0answers
203 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
41 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
0answers
185 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 do'...
1
vote
0answers
107 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
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 ...
0
votes
0answers
5 views

Get the_content with formatting text?

I used this php-code to find all links. function url_to_link($text) { $reg_exUrl = "/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/"; if(preg_match($reg_exUrl, $text, $url)) { ...
0
votes
0answers
18 views

permalink with partial ajax site

I'm trying to load a page with from a URL with an ajax call. This is what i have : a home page with the url / -> list all movies & events a page called cinema with the url /cinema -> list all ...
0
votes
0answers
38 views

How to retrieve referrer tag, and save in custom fields for each WC order?

I need to save the traffic source of each order for my Woocommerce store because I need to know what internal page or external website had resulted in that order. I'll need this for customer service ...
0
votes
0answers
15 views

Where wordpress try to find php file for site?

I have installed woocommerce. When I open site host.eu/product/category/something else `host.eu/product/sth' Where wordpress try to find .php file to run this page? add_rewrite_rule('^product/([^/]*...
0
votes
0answers
12 views

Substitution of a Wordpress installation preserving the old one under a subfolder

I have a WordPress website (Website01 under exampledomain.com) and I want to build another one under the same domain but a different folder (Website02 under exampledomain.com/subfolder). That's not a ...
0
votes
0answers
7 views

Subpage for custom post type not beeing loaded

A week ago I started working with wordpress. My project is to expand a friends website with a section where she can add offers (e.g. guided hiking tours) in a chronical way. Those offers should have ...
0
votes
0answers
22 views

What is the use of the URLs stored in the posts table

When a user adds a post in a WordPress site, the link of that post is stores in the database in wp_posts table. And if I changed the link in the database it doesn't actually change in real. For ...
0
votes
0answers
21 views

Plugin download monitor always links to same file

I installed the download monitor plugin to generate download-links for videos. I have created a couple of downloads and created a widget to display them. I can see the correct shortcode, when I use ...
0
votes
0answers
127 views

How to rewrite product links in WooCommerce

Please help me with this case, I try to do a lot of think but it not work. My website have 2 types of links and I want links like this: Post: domain.com/post-name.html Product(WooCommerce) : doamin....
0
votes
0answers
12 views

404 errors after /sample-page added to sub page URLs

I have a site that was running fine, but now all links have /sample-page/ included and consequently, all pages are 404. How do I get rid of sample-page in page links, and how do I make sure this does ...
0
votes
0answers
71 views

pagination custom post type reload but show the same

i have a problem when i try to paginate in a table my custom posts types, in the view it appear in the correct form " 1 2 3 Next" but when I click in the number the page reload but not show the other ...
0
votes
0answers
19 views

Link to specific content

I'm messing around with an existing theme at the moment, trying to strip away as much of the WordPress 'environment' as possible to only preserve the text-editing functionality. So, essentially, I ...
0
votes
0answers
59 views

anchor link only works when on internal page, not external

I have anchor links, but it's only working when they're linking to the same page. If I'm linking from an external page I see it go to the page anchor but then immediately jumps to the top of the page. ...
0
votes
0answers
41 views

data and link from one page to another

I am trying to link from one page to another page which gets the data from previous page. I have a image displayed using metabox. <?php $images = rwmb_meta( 'metabox_imgadv', 'type=image&...
0
votes
0answers
37 views

Rewriting URI of custom post type

This is a follow-up question to this thread: How to rewrite URI of custom post type? I'm using WooCommerce on one of my customers' sites and we use the following permalink structure: http://www....
0
votes
0answers
95 views

Display Post Image Wrapped in Div, Inside Link Tag

So I'm trying to wrap media images published in a post into a custom div, that is also wrapped in a link tag that has the permalink of the media image as it's href. Here's the filter that I've made so ...
0
votes
0answers
33 views

next post link in same category

Regarding https://codex.wordpress.org/Next_and_Previous_Links the following code should display post in same categories if post are registered in more than one category. Unfortunatly it does not work ...
0
votes
0answers
26 views

How to link other page?

I build menu in admin name is "Members". This is code file User.php <?php function User_add_menu(){ add_menu_page( 'User Members', 'Members', 'manage_options', 'user-members', 'menus_user_add'...
0
votes
0answers
63 views

Adding links in “our focus” section in zeriff theme wordpress

I am using zerif lite theme of WordPress, I wanted to add link to the content of "our focus" section. But when I add abcd in the content. It shows up as www.website.com/\"link\". Please help me to ...
0
votes
0answers
50 views

How to link attached images to the current post?

I am using TwentyFifteen theme and on homepage, it's display all the attached images of the post, but the images are linking to the full size instead of the post. I know there is an option to add a ...
0
votes
0answers
35 views

Create a simple mu-plugin that appends “?mobile” to all links

I have a wordpress website that is set to switch themes when "?mobile" is present in the url. I'm using it for a specific mobile design that will launch from a particular link. So, instead of "example....
0
votes
0answers
68 views

Unable to create hyperlink after Wordpress updated

I am recently facing an important issue. This issue happened after an updates completed. The issue i facing is, the visual editor was not responding when i creating links with the Insert/Edit Link ...
0
votes
0answers
98 views

Post List Widget with custom posts and editing the Read More Link

I actually have 2 questions, one related to the Post List Widget, the other concerns the "Read More"-link. ad 1) I want to show a certain category of posts (only one post at a time) in this widget. I ...
0
votes
0answers
15 views

Links offset on my page

For some reason, the links for my nav bar are offset so they start much lower than normal. The buttons seem to be in the right place, but for some reason the links themselves are rendering in a ...
0
votes
0answers
114 views

Redirect/Route every broken link to 404 page

I have a wordpress site. It was transferred from another CMS now. And WP doesn't want to route non existent links to 404 page. For example, http://betall.ru/aisi-316-analog/234524/ routing to http://...
0
votes
0answers
63 views

How might one programmatically set the link for all images in all posts?

Every post on my Wordpress site contains at least one image (in the content, not as an attachment). Each post also contains a custom field with a URL. I'd like to programmatically modify all posts ...
0
votes
0answers
423 views

WordPress Custom Links and category is not working

I am new to wordpress and using wordpress(4.1.1) and theme "Hueman". I wanted to add custom Link and Categogy Link in Menu Structure, but i can't able to do that. When click "Links","Categories","...
0
votes
0answers
198 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
119 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
185 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 $...
0
votes
0answers
29 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.
0
votes
0answers
31 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
0answers
55 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'); ?>/style/js/webtrends/webtrends.load.js"></...
0
votes
0answers
24 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
0answers
140 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
0
votes
0answers
576 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 ...
0
votes
0answers
225 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. http://192.168.123.2/mysite/...