Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
9 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
24 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
8 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
14 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 ...
0
votes
2answers
20 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
18 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 ...
1
vote
2answers
50 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
0answers
16 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
16 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
25 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
35 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
16 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
52 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 ...
0
votes
0answers
11 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
22 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
29 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
15 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
36 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
22 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
23 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
44 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
0answers
19 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 ...
1
vote
1answer
14 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
0answers
45 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>'; ...
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
22 views

Menu Structure with Links failure to update

Sorry if this sounds like a newbie question but this is driving me crazy and I can't seem to figure it out. I want to add a link called "About Me" to my Menu that redirects to another website. It ...
0
votes
0answers
10 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
0answers
21 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 ...
0
votes
1answer
113 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 ...
4
votes
1answer
50 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
343 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 ...
0
votes
0answers
27 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
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
36 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
21 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
0answers
32 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
1answer
17 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
27 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 ...
1
vote
0answers
21 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
1answer
32 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
24 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
106 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
44 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', ...
0
votes
0answers
48 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
70 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
73 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
27 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
86 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
52 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 ...