All good I have figured it out
<a href="https://wordpress.stackexchange.com/questions/243458/javascript:fbShare("<?php echo the_permalink(); ?>', 'FB Share', 'Facebook share popup', '<?php echo the_permalink(); ?>', 520, 350)">
Related Posts:
- How to get wordpress link to fully evaluate when coming from facebook
- Pretty permalinks and Facebook comments
- [Plugin leenk.me]modify get_the_title
- Facebook like button disappears after changing the static permalink to dynamic one!
- Strange permalink issue: can’t rename /company-2/ to /company/
- How to get permalink and title from post ID?
- Using $_GET variables in the URL?
- Removing leading zeros from custom permalink structure
- Move WordPress to subdirectory, keep ALL URLs
- How do I turn off 301 redirecting posts (not canonical)?
- How can I include a query string with get_permalink
- Post being redirected to attachment post
- Without index.php in permalinks I get 404 across site
- Changing Permalinks to a Custom Permalink causes a 404 Error [no matter what I do]
- %tag% in permalink not working
- How to assign a Permalink to a Function
- Rewrite rule never matching
- How to get blog id from permalink?
- Rewrite-Rules not working on a vhost, everything goes to index.php
- Date archive permalink modification
- How to get this JavaScript working with get_permalink
- Change of permalink structure – redirects in htaccess breaks the archive links
- Changes to permalink structure results in 404 error for all pages other than home
- Filter string like a slug
- I need a custom permalink for my website
- 404 with post name permalinks
- Should there be a trailing slash in the permalink
- Link to external URL
- Woocommerce Product Attribute Permalink doesn’t work?
- Permalinks not working
- Problem with wordpress links on a live site
- Why wordpress multisite root site showing blog prefix by force?
- Permalink change redirects by WordPress [duplicate]
- WPML get permalink to the translated post from the original post
- page nested 3 levels deep shows 404
- Removing /author/ slug from URL gives 404
- Add custom post type name in term link?
- Can I create permalinks like this: /%post_type%/%postname%/
- Why the “Permalink” option is not showing in the “Settings”? [closed]
- Redirect /%year%/%monthnum%/%day%/%postname% [closed]
- How to get the full URL of the current page and change domain of it?
- Custom permalink structure: /%custom-taxonomy%/%post-name%/ (without CPT slug)
- get_permalink() is not working after published
- How to get functions.php work with postname permalink?
- How can I get this custom post type permalink structure? %custom_post_type%-%taxonomy%-%term-postname%
- get_permalink returning site home url instead of the url of slug being passed
- WordPress add_rewrite_tag working for Posts, but not working for Pages
- Host frontpage via example.com and everything else via example.com/blog
- WordPress can generate numeric permalinks, which then 404
- Dynamic Custom Permalinks
- 404 error using Meta for Permalink rewrite
- Permalink changes gives me 404 [closed]
- WordPress suddenly changed all links to example.com/example.com/
- How to handle paging/pagination with a custom permalink?
- Environment independent way to link to certain pages on frontend
- Using one slug/post-name for multiple pages
- Custom URL rewrites for templates
- Gutenberg output URL to post from attribute with post ID
- Relative links in Gutenberg
- How to change custom post type, blog post and page permalink by template?
- How to remove the link of an image on WP 4.2
- How to get raw unwritten querystring
- WordPress Permalink
- How to replace permalinks
- Multiple Tags Issue in Permalinks
- How to change permalinks to show categoryname/post-name?
- Post with no tag permalink problem
- WordPress’ «post name» setting broken
- Keep wordpress basic permalink preferences
- Adding a ‘blogs’ prefix in the URL structure but only for blogs
- .htaccess to redirect to a wp page
- How to redirect old permalinks to ones generated by [WP-Hashed-ID] plugin?
- My WP homepage works, but the other pages don’t when accessing from out side of my network
- How do I use the same Tag slug for different Tags?
- Replacing + sign to – in wp Search Permalink
- Permalinks are not working in WordPress
- One post but two separate permalink structure and template views
- Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)
- Woocommerce product page 404 not found
- WordPress and NGINX – permalinks are not working with ending slash
- Retain Post title keywords in URL even if user changes post title or any other way to achieve SEO friendly permalink?
- Get value from URL with different types of parameters
- a way to support totally different url structure
- WordPress permalinks first word title
- WordPress permalink issue on AWS
- Permalink for Author’s Posts in a Category
- Search and replace post URL’s on page output?
- Two urls for one website
- WordPress Pagination Not Working After Transfer from Localhost
- Accidentally changed the permalink structure
- Why doesn’t WP update my .htaccess file?
- How is a URL getting mapped to a page template
- customize urls displayed by previous_post_link and next_post_link
- What is the issue with our links? It creates a loop
- Routing ‘fake’ sub sub posts
- Page and post auto links
- how to make follow?
- Permalinks Won’t Work
- Remove parent product category slug from product_cat url woocommerce
- How to make my custom permalink pull up the correct post