The tag has no wiki summary.

learn more… | top users | synonyms (1)

4
votes
1answer
32 views

Is there a simple way to just insert a link to an image (without inserting an image)?

I'm pulling my hair out with this, it seems so simple, but there is no easy way in WP (that I can find), and no plugin that will do the following: In a post, I want to select some text, and then add ...
2
votes
1answer
23 views

Need advice on how to add links in users profile page?

I am working on a website where I need to have links to posts or pages that a user has added to the website. For example, a user can login to the backend of the website and they will automatically go ...
0
votes
0answers
21 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 ...
0
votes
1answer
19 views

How to not display a category post on blog page?

As you know, we can assign a "Category" to any post we write. We can also use a "Category" as link on the menu. Good! By default, WordPress will display all your posts in all the categories on your ...
1
vote
0answers
11 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
votes
1answer
21 views

Displaying categories and subcategories without link

I want the categories and subcategories to be displayed on my single product pages, but I dont want them linking. I've found some really nice code here WooCommerce - how to display product category ...
0
votes
1answer
16 views

Redirecting to old domain after migration

I have moved one of my website to a new domain, below is what i did. Backed up database Uploaded all the files to the new server. Imported sql into new server via phpmyadmin Now i have used this ...
0
votes
0answers
8 views

DB optimization caused custom field and link loss

I recently did DB optimization and after that I lost all my Advanced Custom field entries and menu links. Is it because my DB got corrupted? How to resolve the issue? Thank You
0
votes
0answers
22 views

Deep linking to an accordion tab with Visual Composer

I am using Visual Composer to add an accordion to my page. Now I need to be able to deep link to arbitrary elements in the accordion. In other words, I need to be able to provide people with links ...
0
votes
1answer
42 views

How to get the link of all categories

I have this code: <div class="widget-title"><h2><?php echo esc_attr(of_get_option('carousel_post_title'));?></h2></div> So in my home-page.php i GET the categories, ...
-1
votes
1answer
37 views

Read more link not working [closed]

I having a news page it's displays all posts i have read more each associate with different links but in some read more doesn't show links properly please refer link second and third post can any ...
0
votes
0answers
29 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
9 views

WordPress : Update old image_default_link_type to post

I have this code that update image_default_link_type option value to post. ans it work good for new post. But the old post i cannot update the images in old post to post link. How can do that ?? ...
0
votes
0answers
22 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
18 views

How can I show latest posts from certain tags menu items as submenu?

I have the following order of menu in the menu dashboard: Category1 ->tags(related to category1) category2 ->tags(related to category2) etc.. when you hover a tag menu item I want to get the list of ...
0
votes
0answers
33 views

How to add a class to edit_post_link?

My goal is obtain "Edit" button like this: <a class="post-edit-link btn btn-default" href="{$url}">Edit this</a> The first attempt I was trying adopt was adding before and after params: ...
0
votes
1answer
14 views

How to get data from one wordpress site to another

I have the following sites: 1. Community News site 2. Classifieds site 3. Coupon Site Is there any way I can get data from my classifieds and coupon site on my community news site....like in the ...
0
votes
1answer
22 views

Anchor doesn't work if it's given in the url

I'm trying to link to a specific part of the page, but when I include anchor in the URL, server doesn't interpret it, so I'm not sure how I would go to the anchor. If I go to ...
0
votes
1answer
14 views

Show custom field value as a link

I’m trying to show one of my custom fields as a link that downloads a photo. I’ve entered the URL in the field value but struggling to come up with the correct html to get it to display as a ...
0
votes
1answer
20 views

Relative URLs within site

I want to link to a page inside a website so the url I want to link to is this: http://www.example.org/about-us/team when I set a link like that: <a href="about-us/team">Our Team</a> ...
0
votes
0answers
12 views

Advanced TinyMCE link with classes configuration

I'm trying to add custom classes to to advanced link options. On the left I've added link_class_list and in the value field: ...
0
votes
0answers
22 views

How to alter permalinks with sub-domain url structure?

I have created a Wordpress install on a sub-domain of my server. So for example my url is www.myUrl.com and I created a subdomain that is essentially www.myUrl.com/sub. I installed Wordpress on ...
0
votes
1answer
18 views

Link to date_query results in Wordpress

I have this line of code: $args = array( 'date_query' => array( array( 'after' => 'January 1st, 2015', 'before' => 'February 15th, 2015', ...
0
votes
0answers
9 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
1answer
22 views

Button linking to an unique link

Here is the PHP that I have which i am trying to change: global $current_user, $post, $product; ?> <?php if ( $post->post_author == get_current_user_id() ) { ?> <div ...
0
votes
3answers
60 views

How to add a class to links inside posts text

Is it possible to add a class to links created with the link button in the posts editor of wordpress. If not is there a plugin that allow me to do that? Thanks in advance
0
votes
1answer
78 views

wp_get_attachment_link to add title attribute to link tag around image

I have a working Lightbox (colorbox) solution for my wordpress images. However I would like to add a custom title based on the image caption and photographer name to the lightbox image. This works ...
0
votes
1answer
35 views

How to get a page url by a page id?

I tried to use get_page_link('page-id') and get_permalink('page-id') but the error below occurred. Fatal error: Call to a member function get_page_permastruct() on null in ... How can I get a ...
0
votes
0answers
17 views

Wordpress menu - return link

is there any way to add a "back" or "return"-link to the Wordpress-Menu? The only option I can see is "Link", meaning it has to be a valid site.. When using javascript:history.go(-1), the text is ...
0
votes
0answers
53 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 ...
0
votes
2answers
45 views

How to auto add nofollow to links in custom field?

I have a custom field that contains links in them and I want to auto add nofollow to those links in that custom field only. How can I do this? Example custom field value: <a ...
1
vote
1answer
42 views

Generate Random Post Links Somewhere in the post

I have a little probleme on which I really need help :( . So, I need to create in my wordpress' post something that I call "You may also like to read"! Let me tell you more about this: For example, ...
0
votes
0answers
22 views

Page auto link to the ID

I'm trying to make the page slug as their ID. Because I'm making one page site. Here is my code <?php global $post; ?> <article id="<?php echo $post->$post_name; ?>"> then I ...
0
votes
1answer
15 views

Why is wordpress forcing https link generation?

I just moved a local site on my staging area, and I noticed that wp_nav_menu now automatically generates https links. Why? How can I disable it? Thank you
0
votes
0answers
19 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
1answer
26 views

How to convert raw url to hyperlink?

I have a custom field with raw urls and I want to convert them to hyperlinks. So I used this code: <?php $text = get_post_meta( get_the_ID(), 'Links', TRUE ); echo make_clickable( $text ); ?> ...
0
votes
0answers
129 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 ...
1
vote
1answer
77 views

wordpress count link clicks by ip address

I am building wordpress web site, which will have an option to download zip file from certain custom post type. By clicking on download button, user automatically starts with downloading zip file. ...
0
votes
1answer
85 views

Adding Edit subnav link to Custom Buddypress Profile Tab [closed]

I've created a custom tab to my buddypress user profiles called 'goals' It displays xprofile fields, I just need to know how to make a dynamic link on the subnav that points at the 'goals' xprofile ...
0
votes
0answers
19 views

Redirect imported blog posts using my permalinks settings

I have imported all of my blog posts from a different CMS to a local WordPress setup to test things out before going live. Here is the layout of the posts from the old CMS: <PublishingArticles> ...
0
votes
1answer
58 views

What could interfere with changing iframe contents with href?

On one v4.1 Wordpress site the following code works as expected: <a href="http://astore.amazon.com/l0c39-20?_encoding=UTF8&node=6" target="test">Test link</a> <iframe ...
2
votes
1answer
62 views

How to add more than one RSS Feed Link for wordpress

I'm using code to change Rss Feed Link for my wordpress site, it's working but I don't know how to add more than one rss link appear when someone click on browser Rss Icon, I need these links to ...
0
votes
1answer
17 views

Plain <a> links in single-class.php and archive-class.php not working

This seems like it should be super-easy to resolve, but it has me stumped. All the links on my page added via get_header() and get_footer() work just fine. The links added via single-class.php and ...
0
votes
1answer
30 views

Wraping $content into link with shortcodes

I'm working with shortcodes in WordPress and I struggle with one problem. I'm trying to wrap my $content into tags, but it doesn't work properly. So here is my shortcode function: <?php ...
0
votes
1answer
145 views

Add a query string to ALL links on site

Our client would like to embed his site into an iframe in their software backend. I get a query string on the first link but need to make sure that string persists across URLs for all links and ...
1
vote
0answers
39 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" ...
0
votes
1answer
132 views

Removing rel=“nofollow” from links posted in Post Content

I am running wordpress for my blog EasyPadhai. I am writing a posts and I have included links to my Android app EasyPadhai for my users. But all links to app are turning in nofollow links. Also ...
1
vote
1answer
232 views

How to add wechat (weixin) link to navigation menu?

The profile link of WeChat (or Weixin) has the following format: weixin://contacts/profile/username As you can see, it doesn't use http:// and that seems to be the reason that it cannot be added to ...
1
vote
1answer
19 views

Delete post by giving its link

It is possible to delete a post in WordPress using its link only? I can't find any possible way to do this.
2
votes
1answer
454 views

Why is there a link tag with rel “profile” pointing to gmpg.org?

I found this <link rel="profile" href="http://gmpg.org/xfn/11"> in header.php file of WordPress theme. What will happen if I don't use this? What will happen if I use this ?