Forum Replies Created
-
AuthorPosts
-
franckyMember
PERFECT!!
I'm very sorry Sir! The code works fine only that I was looking at old posts before adding the 'comments' in the code.
All new posts have "Allow Comments" checked and show comments. I have enabled in all old posts and it's working fine!I'm very sorry for causing unnecessary inconveniences!
The code works so PERFECTLY and I greatly appreciate it Sir!
Thank you very much, Sir!
franckyMemberSorry Sir!
Yes, I put as you instructed 'comments' and not "comment"
I used "comments" as a quote in the conversation and not the code!Here is my code which can't enable comments in stream posts;
//* Create stream custom post type add_action( 'init', 'stream_post_type' ); function stream_post_type() { register_post_type( 'stream', array( 'labels' => array( 'name' => __( 'Stream' ), 'singular_name' => __( 'Stream' ), ), 'has_archive' => true, 'hierarchical' => true, 'taxonomies' => array( 'post_tag' ), 'public' => true, 'rewrite' => array( 'slug' => 'stream' ), 'supports' => array( 'title', 'editor', 'custom-fields', 'genesis-seo', 'thumbnail', 'comments' ), ) ); }
I shall appreciate your kind consideration!
franckyMemberThank you Sir!
I have added the "comment" as instructed above but it hasn't worked out!
Am I supposed to change something in archive-stream.php too maybe?
I can see Brian has removed the code/ or maybe he's doing some changes in his site but just in case, the code to be put in that archive-stream.php is here below;
<?php //* Remove the Genesis post content and replace with WordPress remove_action( 'genesis_post_content', 'genesis_do_post_content' ); add_action( 'genesis_post_content', 'the_content' ); //* Remove the post title remove_action( 'genesis_post_title', 'genesis_do_post_title' ); //* Relocate the post info function remove_action( 'genesis_before_post_content', 'genesis_post_info' ); add_action( 'genesis_after_post_content', 'genesis_post_info' ); //* Remove the post meta function remove_action( 'genesis_after_post_content', 'genesis_post_meta' ); genesis();
franckyMemberADDITION:
How can I also enable comments on posts in the stream? Of course after one goes directly to the link of the corresponding post.Thank you in advance!
franckyMemberSure! Thank you! I appreciate it, Sir!
By the way, I would also like to add more features in the stream so as to look like http://demo.studiopress.com/mindstream/ with clickable images on the left depending with weather the update is a Quote, Image, Video, Audio, Normal Post e.t.c.
I'm using Epik theme >> demo.appfinite.com/epik/Should I start a new thread maybe about this?
I shall appreciate your professional support, Sir!
franckyMemberThank you very much! The code worked so perfectly!
SInce I had some few other modifications, I assume I only had to add that ['taxonomies' => array( 'post_tag' ),] in the code, right?
Otherwise the code works fine! I greatly appreciate your kind support, Sir!
franckyMemberAnyone out there to help me on this?
franckyMemberThank you Greg!
Unfortunately that code was bringing some errors and I was lucky enough to get the following code which worked fine.
<code>
/** Modify the Genesis content limit read more link */
add_filter( 'excerpt_more', 'child_read_more_link' );
add_filter( 'get_the_content_more_link', 'child_read_more_link' );
add_filter( 'the_content_more_link', 'child_read_more_link' );
function child_read_more_link() {
return '...<a class="more-link" href="' . get_permalink() . '"><img src="image-link-here"></a>';
}</code>
franckyMemberWoW!! PERFECT!!
Thank you so much, SoZo!!
franckyMemberSimple edits plugin works fine! Thank you guys!
franckyMemberThat code doesn't work in my case. It does put the new footer in the content (at the bottom of the white wrap and not in the footer.)
I even tried using Genesis Hook Plugin which I have been using in all my websites to change the footer but it doesn't work at all. I wonder if there is an error in the footer code of this Metro Theme.
January 26, 2013 at 6:23 pm in reply to: NEWS Theme: Footer Widgets & "After Content Ad" Responsiveness #15212franckyMemberThank you!
Here's the link: http://bit.ly/XIuzpL
franckyMemberThank you very much guys!
I have used Carrie Dils's http://www.carriedils.com/text-overlay-image/2306 trick and it's working fine only that it's not mobile responsive.
How can I make it mobile responsive? Here's my CSS part of the text and my link is http://bit.ly/WV95r1
#featured-image {
text-align: left;
width: 100%;
position: relative;
z-index: 0;
}.underlay {
position: absolute;
z-index: -999998;
}.my-text {
color: whitesmoke;
font-family: 'Open Sans',sans-serif;
font-size: 48px;
font-weight: 700;
font-style: italic;
overflow: hidden;
padding-top: 170px;
padding-bottom: 190px;
padding-left: 6%;
padding-right: 6%;
}.my-text p, .my-text h2 {
color: white;
margin-bottom: 15px;
text-shadow: 1px 1px #CCCCCC;
}franckyMemberActually after seeing the EXECUTIVE Theme in v2.0, I thought all upgrades will have the same touch. I just couldn't imagine seeing NEWS Theme with a touch of the latest EXECUTIVE Theme.
When possibly will is the next the upgrades for NEWS, AGENTPRESS themes etc?
-
AuthorPosts