Tagged: Blog, single post page
-
AuthorPosts
-
August 21, 2017 at 4:10 pm #842068
Hi guys,
I am working on a website for Zico Lopes. An architect. He wants to have a news section. Since he does not use much text he doesn’t need to have single post pages. How can I remove the link to the single pages.
News
http://zicolopes.alfredosilva.nl/blog/Single post page
Thanks for helping
August 23, 2017 at 4:46 pm #843169Hey AlfredoS,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
.blog .post-title.entry-title, .blog .big-preview.single-big { pointer-events: none; }
Best regards,
YigitFebruary 26, 2018 at 5:01 pm #917881Hu Yigit,
I tried but it is nog working. I also tried !important. No result.
GreetingsFebruary 27, 2018 at 5:23 am #918172Hi AlfredoS,
The code Yigit gave you, works on the single post, this code will work on the magazine element you use for the news.
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css.av-magazine-title.entry-title a, .av-magazine-entry.av-magazine-format-standard.av-magazine-type-post.av-magazine-entry-small { pointer-events: none; }
If you need further assistance please let us know.
Best regards,
VictoriaFebruary 27, 2018 at 2:11 pm #918460Hi Victoria,
Unfortunately the code is not working. Maybe I didn’t explain it well.
On this page you can see the blog posts.
The posts link to single post pages. Those are the links that I want to remove.
The author of the site doesn’t us much text so an extra page is nog necessary.
Greetings
February 28, 2018 at 2:52 pm #919078Hi,
Thank you for the update.
Please use this script in the functions.php file to disable the magazine element’s link.
add_action('wp_footer', 'ava_custom_script'); function ava_custom_script(){ ?> <script type="text/javascript"> (function($) { $('.av-magazine-entry').each( function() { var thumb, title; thumb = $(this).find('.av-magazine-thumbnail'); title = $(this).find('.av-magazine-title'); thumb.find('a').attr('href', '#').css('cursor', 'default'); title.find('a').attr('href', '#').css('cursor', 'default'); }); })(jQuery); </script> <?php }
Best regards,
IsmaelFebruary 28, 2018 at 3:48 pm #919114Hi Ismael,
Thank you for the reaction.
I pasted the code in the functions.php file. This is what happens:
https://www.dropbox.com/s/xr9fpgj2m53lb68/Screen%20Shot%202018-02-28%20at%202.44.28%20PM.png?dl=0I pasted the code below the other codes. Did I do that right?
March 1, 2018 at 7:37 am #919428Hi,
That doesn’t look right no, please post admin login details in private so that we can have a closer look. We might need FTP details as well so please include those as well.
Best regards,
RikardMarch 1, 2018 at 11:23 am #919543I restorde it but if you can take a look it would be nice.
March 1, 2018 at 11:30 am #919550Hi Rikard,
You can close the thread. I found a solution with CSS. Thanks for all the help.
.blog-meta, h2.post-title.entry-title a{
pointer-events: none;
cursor: default;
}March 1, 2018 at 2:15 pm #919642Hi,
Glad you figured it out and thanks for sharing your solution! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Yigit -
AuthorPosts
- The topic ‘ZL: No link to single post page’ is closed to new replies.