Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
22 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
14 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
147 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
0answers
39 views

Problem with custom menu links when moving wordpress installation to subdirectory

I know there's a ton of posts pertaining to broken links after migrating a wordpress installation, but I haven't been able to find an exact solution to this one. A site I'm working on has the ...
1
vote
1answer
2k 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) { ...
0
votes
0answers
55 views

How to make Wordpress write links as https regardless of environment?

Here is my situation: SSL certificate is on one server, Website is being served from a different server. Somehow the SSL certificate is getting proxied so that my whole WordPress website can be https. ...
0
votes
1answer
54 views

How to link to specific part of a page in wordpress permalinks

I have a one page template(muse theme) which its main menu items link to a specific part of the page in the webpage itself. I want to add # character before post name to go to the specific part of the ...
0
votes
1answer
88 views

How to change the link of the wordpress logo in the admin bar?

I have found solutions to change the logo itself and to remove that "about.php" link in the dropdown, but this does not affect the "about.php" link in the wordpress logo. How can I change this?
1
vote
0answers
110 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 ...
0
votes
0answers
26 views

How to Log User Clicks on Link - CPT, User Meta, other?

In the sidebar, I have links that appear when a user is logged in. The links point to downloaders on various other sites as well as our own. I'd like to be able to log those user clicks so I can see ...
0
votes
2answers
30 views

Wordpress: How to make a subsubdirectory

I have a multiple word press installations that I am trying to reduce to one. Here is what it currently looks like: Installation 1 = www.example.com Installation 2 = www.example.com/foo Installation ...
0
votes
1answer
20 views

Why am I seeing 'yes' and 'no' in URLs crawled by Xenu?

This may not be a WordPress thing at all, but I've never seen it before and it's happening to a WordPress site we're completing. I use Xenu for checking sites for broken links, images etc. When I run ...
0
votes
0answers
32 views

Error post_type link admin pagination

I have an error with bad links on all my specials post_type created by the plugin "magic-fields-2". on the admin link (pagination, eg: go to page 2) i can see : ...
1
vote
0answers
33 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
45 views

Possible to hide parts of the slug from get_template_directory_uri and bloginfo('template_directory')

At the moment i am running and building a wp site on a local install with mamp. Additionally i have moved the wp files from the root directory to a folder. i've included files then e.g. with ...
1
vote
1answer
81 views

Make page tab link to pdf

I'm sure this is ridiculously simple, and I'm just missing something very basic. I have a CV as a pdf. I'd like to have the tab that says CV open up that CV as a pdf. I do not want to embed it as a ...
-1
votes
1answer
29 views

Unsual behaviour of navigation Menus

I deleted all the previous menus which where there in my site. Then I created a new menu called Home and added few pages to it So my menu looks like this Problem : When I click on About us and other ...
0
votes
1answer
227 views

WordPress is adding rel=“nofollow” and target=“_blank” to internal links in posts and pages

For some reason WordPress started to add rel="nofollow" and target="_blank" to some of my links in my posts and pages. Not to all my links but randomly. I really dont know why because when I'm ...
-1
votes
1answer
167 views

How to list all external URLs that I have posted on my WordPress blog?

I want to list all the external links of my posts in a single place/file. How can I achieve this? Is it possible to achieve this via a plugin? Is it possible to achieve this with a built-in ...
0
votes
2answers
74 views

Can WP give a value a post ID?

So I have queried out some data from another DB and obviously they're not a post which means I can't use the standard permalink to link them to an existing page with it's post type. So I thought that ...
0
votes
0answers
36 views

After changing permalink settings, everything works fine except for the two most recent posts

I've been searching for a couple of hours for a solution, but so far haven't found anything. I updated my site's permalink settings from 'post name' to 'day and name' and everything seems to be ...
0
votes
0answers
19 views

Editing links to new Site url when user Creates a New Site

I have a template site set to be duplicated when a user creates a new site on my network. When a new user creates a new site on my multi-site network I need to have several links incorporate the name ...
0
votes
1answer
72 views

Delete link on single-custom.php with redirection

I need to provide a delete link for my users on the single page of a custom post type. But when the entry is deleted the user will end in a nothing found on this page wordpress error (because we are ...
0
votes
0answers
11 views

Export links of custom created admin page

All right so i have created a page in the wordpress admin called Theme Options.When i export my files the links of these pages are not exported.I want the links that i have included in this page to be ...
0
votes
1answer
38 views

Weird characters being added to my link

I created a simple image link that's linking to a page within my Wordpress website and for some reason weird characters are being appended to in which is not allowing the user to get the the page ...
0
votes
1answer
145 views

Top menu link anchor href value change after online server?

I was recently launch localhost server on my computer to create local website. If I create new link that add to top menu. The href value was http://localhost.com/something/something. Does this href ...
0
votes
0answers
94 views

get_edit_post_link returning incorrect post id - why?

I have an array of post-ids, something like: Array ( [0] => 3164 [1] => 3174 [2] => 3176 [3] => 3220 [4] => 3230 [5] => 3232 ) I'm trying to fetch the post-edit-link for a custom ...
0
votes
1answer
103 views

Can't find link to add content to pages

I'm new to wordpress and I'm facing a problem. On one site I'm using wordpress v3.5.1 and I am using links in the sidebar to add content and images to several pages: As you can see on the left I ...
0
votes
1answer
607 views

Add gallery id to rel attribe of wp_get_attachment_link

Now i have this snippet in my functions.php /** * Add rel to links. */ function add_rel_to_gallery($link) { return str_replace('<a href=', '<a data-fancybox="true" rel="group" href=', ...
0
votes
1answer
56 views

My posts section for logged in user

I would like to create a page that shows only posts written by the user logged in and get a link (such as www.example.com/AuthorPostsID) to put on the menu. I'm trying for two days. Does anyone know ...
0
votes
0answers
14 views

Attaching a media file to email link from webpage? How?

When someone clicks a link on my webpage I want it to come up as an email with a document from my media folder already attached to it. How do I do this? Thanks!
0
votes
1answer
45 views

How to Set Limit with WordPress Get Bookmarks Shortcode

I just need some help with a WordPress shortcode function. I would like to create a list of links based on the link_category inside a post with a shortcode. I had the shortcode working until I added ...
0
votes
0answers
296 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
2answers
37 views

How to link a word comprised of a custom field with another?

I want to link content comprised of a custom field(field1_details) using another custom field(field2_link) which is a URL type. the_field('field1_details') is text_area field and ...
0
votes
1answer
243 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" ...
1
vote
2answers
752 views

Get current users post URL?

I've been trawling through forums but can't find a solution to this. If anyone can help, it would be greatly appreciated! I'm trying to display a link to current users author page (all users have ...
0
votes
4answers
143 views

I copied my site to another site but all links point to old site

I copied my site: www.old_site.com to a new address: www.new_site.com All links in new_site point to the old site. What do I have to change so that new site points to new site? Thank you.
-1
votes
1answer
19 views

Link to blogg-page

Im trying out wordpress and wondering of from the theme i have installed. Im not using the blog as the start page. How do i add a link to the menu that shows the blog with posts in order of date?
-1
votes
1answer
40 views

After the local installation of an old WP website I can see the homepage but I can't access to the articles, why?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink The main problem is that if I use the permalink setted as Article Name ...
0
votes
0answers
22 views

Modify link in widget archive

I want to add Google campaign to link in default wordpress widget archive. How can I do this?
0
votes
0answers
90 views

Custom WP deactivate an email activation link sent to user's email.

As the title stated, instead of using the WP default recovery password page, I created a custom reset password recovery page template. Everything is working except I'm not sure how deactivate the ...
0
votes
1answer
508 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 ...
1
vote
1answer
1k 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 ...
0
votes
2answers
30 views

Where do I find “log in” and “register” link which are located on the top right corner?

My site has "log in" and "register" links on the top right corner of homepage and every page. Where do I find these in the source code?
0
votes
1answer
55 views

Latin character conversion

I'm managing a wordpress blog in Spanish for the first time and I'm currently migrating servers (e.g server A and B). The problem is that even though the file names are correctly sanitized or escaped ...
0
votes
1answer
319 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
2answers
277 views

How can I use the built in Wordpress “browse link” functionality?

I'm coding a widget and I'd like the user to be able to pick a link like you can when editing a regular posts or page (when you click on the little link icon and you get the AJAX search functionality ...
0
votes
1answer
125 views

Best way to add internal link in widget

I'm looking for a way to transform a static piece of code into a widget to display in different sidebars containing a simple internal link. The basic code is: <div class="my-link-box"> <a ...
0
votes
1answer
236 views

Customise wp_List_pages to output a UL LI

I am trying to get my pagination for posts outputted as a list. ie: UL > LI > A. <?php wp_link_pages(); ?> I see that I can add a UL easily enough by editing the $defaults but I cannot seem ...