In your functions.php probably you want:
echo '<a href="' . get_permalink() .'">';
There’s a function is_sticky( int $post_id )
which will let you see when a post is sticky. On the page you want to hide the sticky, inserting this line in the PHP at the top of the loop while tell it to skip to to the next post if this one is a sticky:
if (is_sticky()) continue;
If you get stuck with that, post the PHP of the start of the loop on the page that you want to hide the sticky in.
Related Posts:
- How can i display gallery shortcode output under Post text
- Sticky Post Doesn’t always work
- Stop WordPress automatically adding tags to post content
- WordPress removing tags?
- Code to make a post sticky
- WP_Query: Why is sticky post not first item in loop?
- Query *only* sticky posts
- Disable WordPress’ blogging functionality and disable ‘posts’
- Highlight a Featured Post?
- Update all posts automatically when using post_meta
- Search & Remove Specific Shortcode From All Posts
- Shortcode Not displayed at the Right Place [duplicate]
- How do I convert a mathematical Microsoft Word document to a WordPress blog post?
- widget should display post archive by year and on click also by month
- how to display full post with pagination on home page
- Automatically added brs and paragraphs?
- Include Sticky Post in Page Posts Count?
- Display All Sticky Post Before Regular Post
- blog page showing only first post
- Specific loop in Shortcode
- Single Post Gallery Using Shortcode
- Showing random content / pictures from earlier posts in a sticky post?
- How to add shortcode tags in single.php [closed]
- How to share same post to multiple site in wordpress?
- How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?
- Adding variable for post title so post template can include auto-generated link to view on external website.com/{post title}
- How to create shortcode to show the 2 latest posts
- Side by side blog posts that are tied together
- Hide Post comments when displayed via WP_Query
- How to show a full post, not just an excerpt
- Remove Shortcode […] from Blog Preview
- Custom excerpt length filter doesn’t work
- How to get the post’s parent ID?
- Limit Gutenberg blocks available to users to choose from
- Display a post by ID attribute with shortcode
- UberMenu list current user’s posts as menu items
- Blog Posts not showing title
- Duplicating Table of Contents for Paginated Post
- Remove certain post-formats from showing in blog?
- Query how many items to show in shortcode
- How blog page in WordPress works : blog page retrieve first post ID
- Blog Posts in Custom Menu
- Sticky post appears twice
- do_shortcode within post query
- Why is my Blog Page ID == First Post ID?
- Displaying Latest Posts on a Page
- Add blogs to “Blogs i Follow” sidebar [closed]
- How to get rid of shortcodes in post content once and for all
- get_the_content(“more…”) returns full text
- How to make number of blog posts a custom field?
- Is there a straight-forward way to iterate over all shortcodes in a post?
- Choose whether to automatically add a taxonomy with the same name as the post
- Display posts from a different website on Genesis Responsive Slider
- How to display Common posts from specific Tag & Category with Shortcode
- WP Bakery Load More Button loads the same posts
- add new post default view
- Show certain posts in a LIST format that members have been granted access to
- Append class to posts page
- Include sticky posts on the static page front page
- What’s the best way to render Visual Composer in posts, not pages?
- How to disable WordPress blog folder
- How could I change my Permalink from blog to custom structure? [closed]
- Posting blog entries in screenplay format
- display-posts shortcode attributes have no effect
- Shortcode and whitespace formatting problem
- How to display only feautured/sticky listings on the homepage
- Shortcode to display the latest news article within a page
- Only display sticky post or latest post in custom loop
- Single.php – Get Current Parent Category
- How to automate featured posts number? [duplicate]
- How to remove in-line style of WordPress’s post content only?
- Shortcodes on my website stops working after theme update [closed]
- How to get ID of the page included with get_page()?
- How to get a post’s details by shortcode?
- WP move posts to different path
- Append ‘Continue Reading’ link if post length is more than 3 lines of text?
- older blog posts not showing in new theme
- Why won’t pagination work?
- WordPress Query Posts From Category Post on Static Page
- Shortcode with ‘year’ parameter
- How come a YouTube link isn’t transformed into a shortcode inside the post content?
- Is it possible to add a shortcode below post title?
- WordPress 302 Redirect to Random Product/Post/Page
- How to create a page that shows the last 10 posts?
- get_previous_post() while accounting for sticky posts
- How to get the latest URL of my blog?
- Un-highlight Blog Menu Item when Category Menu Item is Selected
- Sticky Post from page 2 and on
- How to convert query sql to shortcode in wordpress?
- How can I add 2 buttons with shortcode
- Why aren’t paragraphs breaking on this page?
- Exclude post category in a blog page
- How to set a certain Custom Template to a Single Blog Post
- Issue with first top post display order
- HTML Inside of Shortcode Breaks Shortcode Output
- Sidebar on single.php not showing up
- Where is the “Posts”/”Blog” template?
- Shortcode for tables which can include comma and linebreaks
- How to separate each individual blog post?
- post/page content