Forum Replies Created
-
AuthorPosts
-
josbarriosMember
Thanks a lot!
josbarriosMemberHave you tried the Shareholic plugin? I think is waaay better and easy to setup than Jetpack Share buttons.
josbarriosMemberJuly 23, 2013 at 3:20 pm in reply to: Minimun Theme: How to add a link in a page title (and change it) #52136josbarriosMemberGracias David! Thanks a lot!
July 23, 2013 at 10:37 am in reply to: Minimun Theme: How to add a link in a page title (and change it) #52087josbarriosMemberHello David. Gracias por responder.
I still have doubts. Look, here is the code in "page-title.php":
<?php if ( is_home() ) { echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a></p></div></div>'; } elseif ( is_404() ) { echo '<div id="page-title"><div class="wrap"><p>' . __( 'Ooops! Error', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a></p></div></div>'; } elseif ( is_post_type_archive( 'portfolio' ) || is_singular( 'portfolio') ) { echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the Portfolio', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a></p></div></div>'; } elseif ( is_singular( 'page' ) ) { echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a></p></div></div>'; } elseif ( is_author() || is_category() || is_date() || is_search() || is_singular() || is_tag() ) { echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the blog...', 'minimum' ) . '<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a></p></div></div>'; } else { echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '<a class="page-title-button" href="#">' . __( 'Subscribe Now', 'minimum' ) . '</a></p></div></div>'; }
I see in the few lines of code that the site's description will be the displayed text beside the suscription button, but I don't now how to change that line. I want another text displayed, not the page's description.
Also, in the code I see the line href="#" wich I can use to add a link in the suscription button, but don't see the line for the anchor link in the text wich I want to change.
At (Appearance…. Widgets….. Home Featured #1) I can change the first displayed social button at home, but I can't change the text beside the suscription button.
I know some CSS, but am a beginner and this is new and complicated for me. :/
I'll apreciate your help. Muchas gracias! Saludos desde Venezuela. Disculpa mi mal inglés.
josbarriosMemberThanks!
-
AuthorPosts