Forum Replies Created
-
AuthorPosts
-
FonteMember
Hi there.
Go here: http://www.studiopress.community/topic/agency-pro-open-sticky-post-above-excerpted-posts/page/2/
See the last post of Len, he told me how to add a widget area in the home page.
Hope this help you too.
FonteMemberI got an other solution to this:
Just add the following line to style.css:
.page-id-1826 .entry-title {display: none;}For post should be this one:
#post-1773 .entry-title {display: none;}Thanks 🙂
FonteMemberHi there, thanks for the the following code, but unfortunately it doesn't works for me 🙁
//* Remove the entry title (requires HTML5 theme support) remove_action( ‘genesis_entry_header’, ‘genesis_do_post_title’ );
Any alternative for Agency Pro?
Thanks a lot!November 23, 2014 at 9:38 am in reply to: Dear members of this distinguished forum, I need your help! #132577FonteMemberHello Len. Awesome replay buddy 🙂
I have been busy these bays but I got some time to get this done and It works perfect!!
Many many thank you Len for your time, advises and snippets. You rock!!! 🙂
November 19, 2014 at 2:07 pm in reply to: Dear members of this distinguished forum, I need your help! #132178FonteMemberHi Len, thanks again.
Yeah, that's what I'm after, but the only thing is that I'm not clear how do I place that widget in there?
November 19, 2014 at 1:00 am in reply to: Dear members of this distinguished forum, I need your help! #132080FonteMemberYou got it 100% haha... That great, thank you!
I want it to appear just in the front page, and sticky with the regular blog format. That will be awesome to achieve 🙂
November 18, 2014 at 6:49 pm in reply to: Dear members of this distinguished forum, I need your help! #132053FonteMemberYeeessss, you got it perfectly right. That's what I want 🙂
Let me see if I have this right. You have set the post as a sticky post which will contain an optin box. YES
So this post is not necessarily a post? YOU RIGHT
The only reason you have set it as a sticky post is so that it will sit at the top of the page? YOU GOT IT
What you are really looking for is a method that allows you to have a piece of content sit at the top of the content area? YEAH
Is that right? You are incredible man, you really understand what Im looking for. This make me feel that someone understand 100% my issue, you made my day just with that Len.Thanks a lot buddy 🙂
FonteMemberUnfortunately that plugin is just for pages but not for posts 🙁
November 18, 2014 at 3:06 pm in reply to: Dear members of this distinguished forum, I need your help! #132030FonteMemberYeah, totally right, we are always learning, and I thing that is what the life is about, keep learning and improving ourselves.
Len, I set the post as a sticky post in order to have an optin box in there.
Now is there a way to remove the post title and post info just from that post?
Maybe all I need is to add some line in the snippet. I spent some time looking around for info about this but with no luck.
Thanks Len.
November 18, 2014 at 12:14 am in reply to: Dear members of this distinguished forum, I need your help! #131956FonteMemberHi Len, you said it and I got it now.
I use to do mouse copy/paste, now I learned something very useful FROM YOU, and from now on I will always copy/paste using Ctrl+C and Ctrl+V.Due to this little detail last week I lost a complete blog.
Hope this topic can help to someone else who may face the same issue than me 🙂
THANK YOU VERY MUCH LEN
November 17, 2014 at 11:06 pm in reply to: Dear members of this distinguished forum, I need your help! #131949FonteMemberHi Len.
I didn't add anything else, all this error are from every new WP installation I do.Attempt 1, error in line 176: printf( ‘<div %s>’, genesis_attr( ‘entry-content’ ) );
Parse error: syntax error, unexpected '>' in /home/comocr5/public_html/matriz.website/wp-content/themes/agency-pro/functions.php on line 176Then attempt 2, error in line 185: echo ‘</div>’; //* end .entry-content
Parse error: syntax error, unexpected '/' in /home/comocr5/public_html/matriz.website/wp-content/themes/agency-pro/functions.php on line 185Attempt 3, error in line 185: echo ‘<div>’; //* end .entry-content
Parse error: syntax error, unexpected '>' in /home/comocr5/public_html/matriz.website/wp-content/themes/agency-pro/functions.php on line 185If I keeping doing this I will spend the whole night I think LOL...
November 17, 2014 at 8:18 pm in reply to: Dear members of this distinguished forum, I need your help! #131929FonteMemberThanks Len. I tried but it broke my blog again.
Now the error message is different, it says:
Parse error: syntax error, unexpected '>' in /home/comocr5/public_html/matriz.website/wp-content/themes/agency-pro/functions.php on line 171
Seems that the problem is in this line: printf( ‘<article %s>’, genesis_attr( ‘entry’ ) );
So I will create the blog again and delete that thing before paste the code.
Thanks Len again for your support 🙂
November 17, 2014 at 4:00 pm in reply to: Dear members of this distinguished forum, I need your help! #131899FonteMemberWoow Len, you rock man! That's is exactly what I want.
I will try to do what you just said.
BTW this is what I bot from your link:
/* Show full content for the latest post and excerpts for the rest while respecting the Content archive limit and Featured image options in Genesis settings */
add_action('template_redirect', 'sk_full_content_latest_post_homepage');
function sk_full_content_latest_post_homepage() {if ( !is_home() || is_paged() )
return;// Prevent Genesis from outputting content. We still want other functions like genesis_do_post_image() to continue to work at this hook
remove_action( 'genesis_entry_content', 'genesis_do_post_content' );remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'sk_full_content_latest_post_homepage_loop' );}
function sk_full_content_latest_post_homepage_loop() {
global $wp_query;
if ( have_posts() ) : while ( have_posts() ) : the_post();
do_action( 'genesis_before_entry' );
printf( '<article %s>', genesis_attr( 'entry' ) );
do_action( 'genesis_entry_header' );
do_action( 'genesis_before_entry_content' );
printf( '<div %s>', genesis_attr( 'entry-content' ) );
do_action( 'genesis_entry_content' );// let's define the way content should be shown
// if current post is the latest
if ( $wp_query->current_post == 0 )
sk_do_post_content();
else
the_excerpt();
echo '</div>'; //* end .entry-content
do_action( 'genesis_after_entry_content' );do_action( 'genesis_entry_footer' );
echo '</article>';
do_action( 'genesis_after_entry' );
endwhile; //* end of one post
do_action( 'genesis_after_endwhile' );else : //* if no posts exist
do_action( 'genesis_loop_else' );
endif; //* end loop}
function sk_do_post_content() {
if ( genesis_get_option( 'content_archive_limit' ) )
the_content_limit( (int) genesis_get_option( 'content_archive_limit' ), __( '[Read more...]', 'genesis' ) );
else
the_content( __( '[Read more...]', 'genesis' ) );}
Do you see something wrong it it??
Thank you buddy for your valuable help 🙂
FonteMemberWhat about to just copy all the CSS and function.php text in the current theme to a notebook and then when the new theme is installed just replace the CSS and function.php with the saved CSS and function.php code? Maybe that works.
November 16, 2014 at 3:42 pm in reply to: Dear members of this distinguished forum, I need your help! #131775FonteMemberHello Len, thanks. I just got time to try this.
Unfortunately it broke my blog. But fortunately it is a test blog 🙂
The thing is that that piece has something wrong in it.
I got the following:
Parse error: syntax error, unexpected end of file in /home/comocr5/public_html/matriz.website/wp-content/themes/agency-pro/functions.php on line 216
This is the test blog: http://matriz.website/
Do you have an idea how can I fix it??
Thanks again buddy for any advise!
FonteMemberLooks very nice to me 🙂
November 11, 2014 at 8:42 pm in reply to: Agency Pro, an open sticky post above a pile of excerpted posts #131236FonteMemberHello guys, is there some one willing to help me with this?
Thanks in advance for your help 🙂
November 11, 2014 at 7:58 am in reply to: Agency Pro, an open sticky post above a pile of excerpted posts #131184FonteMemberAny one can help me with this?
Thanks!
FonteMemberYeah, new toy for us haha...
FonteMemberYeah, it was a cache issue with the brand new Firefox for developer edition. Did you get it? It looks pretty nice to me.
-
AuthorPosts