-
AuthorPosts
-
July 27, 2014 at 6:04 am #74033
Hello,
The latest post on my blog is a custom post of video type.
I noticed that it doesn’t show the sharing buttons, and I suspect it is because
it’s not even showing the rest of the post text, it just shows the video.
How could I enable it to show the rest of the post and buttons for custom post types?
Thanks!July 28, 2014 at 9:58 am #74430Hi Claudio,
Thanks for writing in!
You can check out this solution to display the social share buttons in all your posts:
http://theme.co/x/member/forums/topic/social-icons-without-shortcode/#post-73469If you’d like to display the social share buttons in specific posts, you may do so by using a shortcode as demonstrated in the following link:
http://theme.co/x/member/kb/shortcode-walkthrough-share/As for the post not showing up in full, you can refer to this topic:
http://theme.co/x/member/forums/topic/getting-posts-to-appear-full-not-just-excerpt-on-categories-archives-page/#post-36990I hope these links will help. But, if you need further assistance, we’ll be glad to help you out. Perhaps sending us login credentials to your site will be needed if the suggestions above do not help.
Thanks.
July 28, 2014 at 10:57 am #74456Thanks guys, but this solutions don’t seem to address quite my problem.
I don’t want to use X social icons, I just want my Jetpack icons to appear in Video type posts just as they appear in other posts.
About post not showing up full, I’m pretty sure the solution you posted it’s not why video posts are not showing fully. That solution would affect all other posts, and my problem is video posts only showing the video in front page, nothing else.
I’ll post my login credentials as private in the next reply. Thanks!July 28, 2014 at 11:00 am #74459This reply has been marked as private.July 29, 2014 at 2:16 pm #74972Hi Claudio,
Really sorry for the previous solution, that didn’t worked for you. Thanks for the explanation though.
To do so, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.
Now, Follow the steps described below one by one:
1) Copy this: x/framework/views/icon/content-video.php file, paste it into child theme’s path: x-child-ethos/framework/views/icon/content-video.php
2) Now, open the child theme’s file using Text Editor & replace the following codes into it:
<?php // ============================================================================= // VIEWS/ICON/CONTENT-VIDEO.PHP // ----------------------------------------------------------------------------- // Video post output for Icon. // ============================================================================= ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-wrap"> <?php x_icon_comment_number(); ?> <div class="x-container-fluid max width"> <?php x_get_view( 'icon', '_content', 'post-header' ); ?> <div class="entry-featured"> <?php x_featured_video(); ?> </div> <?php x_get_view( 'global', '_content', 'the-content' ); ?> </div> </div> <?php x_google_authorship_meta(); ?> </article>
Quick Tip: After your child theme is setup, you can review how we recommend making template changes in Customization Best Practices. X is quite extensible with child themes, so there are plenty of possibilities.
Let me know if you need to do that for other post formats too. I just tweaked the theme for video post formate only.
Hope this helps, Cheers!
September 1, 2014 at 7:33 am #96143Amazing support.
Forgot to thank you for this solution. Also using child theme will make life easier for me with updates. Thanks!September 1, 2014 at 7:36 am #96148You’re welcome Claudio.
May 15, 2015 at 12:50 pm #274496Hi,
I’d like to do the same thing: get full content from video posts to show up on the main blog posts page. I’m using renew. I tried the code above, but it doesn’t work. I get the full text from the video post, but then it fails on line 24 and all other posts aren’t shown on the main post page.
Thanks in advance!
May 15, 2015 at 6:49 pm #274694Hi Jennifer,
It’s best to start a new thread for your issue while linking back here 🙂 That way we can easily track issues and share information in private. With that new thread, please provide the following for further checking.
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
May 24, 2015 at 12:41 am #280497Hi. I used the code above to do the same thing but it deleted my entire side bar. Is there somethign I was missing?
May 24, 2015 at 1:42 am #280538Hey there,
It would be best that you open a separate thread and give us access to your WordPress admin so we could check your setup.
Thanks.
-
AuthorPosts