Forum Replies Created
-
AuthorPosts
-
Ren VenturaMember
AffiliateWP from Pippin Williamson and his team. Simple, extendable and works.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberI personally like the form idea mentioned by @nciske but it would require more work. Displaying users' emails can definitely lead to them getting spam, which is not cool for anyone.
If you need to show the email, you will want to use the
antispambot()
function in WordPress (see link below). This converts the email into HTML entities so that it's still rendered properly in the browser but email-harvesting scripts won't pick it up.For retrieving the commenter's email, you can use
get_comment()
and output the escaped email using something like one of the WordPress comment filters orgenesis_after_comment
action.In a nutshell,
get_comment()
will get you the data you need,antispambot()
will escape the email to protect it from harvesting and then displaying it is your call.https://codex.wordpress.org/Function_Reference/antispambot
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMember@firebrick To explain what you need to do with your code, you have to start with adding a semi-colon at the end of each echo statement because, as you have it, you'll get fatal syntax errors. Next, the
if ( ! is_front_page() )
should be replaced withelse
. Lastly, indent your echo statements since they're not using curly braces (or just use curly braces). This would give you something like:if ( is_front_page() ) { echo '<a href="#">My Custom Link</a>'; } else { echo 'My Custom Message'; }
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberThis post might help:
http://www.engagewp.com/filter-display-custom-page-title-genesis/
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberFollow and get in touch with Brad Potter on twitter (@bradleypotter) and ask him about his Backstretch slideshow plugin. He's been doing some really cool things and one of them has been using Backstretch for a background slider via the Customizer. He also demoed it using Altitude, among others. I don't know how complete it is yet but I'm sure he'll explain.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberNo, you don't have to repurchase for each new site. Once you purchase Genesis and any child theme, you are free to use them on as many sites as you wish, without limitation.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberYou don't need to call get_header(), get_footer(), etc. At the end of the template, call
genesis();
. This function runs the rest of Genesis, including get_header() and the likes.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberI personally use Related Posts by Zemanta and have been very happy with it.
https://wordpress.org/plugins/related-posts-by-zemanta/
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberYou do not want to modify the original code. Editing Genesis core is going to result in your changes being erased when Genesis is updated. Use the
genesis_post_title_output
filter that the post title is passed through at the end of that function. This will allow you to customize the output without touching the core files.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberGenesis includes an options page and many child themes include customizer settings. This requirement, however, is only enforced on themes in the WordPress theme repository.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberApparently I overlooked the link to your code. My apologies. That considered, use @Badlywired's suggestion.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberHello, Frank. Can you provide a link to the post?
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberIs the literal text of the shortcode showing or is it just not rendering anything? Can you explain what you're trying to add and provide a link?
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberYou can also set up a local environment for testing purposes. I'd suggest this anyway because a local server is faster and you don't have to mess with uploading files (i.e. FTP). This makes the entire testing process much faster.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberYou can still block users from accessing it by adding something like a maintenance mode plugin or a custom redirect if the user does not have admin privileges.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMember1.) Check the page layout option on the page's edit screen. There are typically a number of layout options you can choose from, depending on which child theme you're using.
2.) If you have a front-page.php template, you can add this line of code to the file:
add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );
This forces the page to be full width. You can also select full width
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
April 23, 2015 at 3:32 pm in reply to: How to Put an Order Form or Buy Now Button on my metro pro using PayPal? #148937Ren VenturaMemberYou can generate a PayPal button (there are plugins that let you do this via WordPress) or use something like Gravity Forms to build a form that integrates with PayPal.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberAre you using a security plugin like iThemes Security? If so, you may have enabled an option to disable the file editor.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberParallax is just a term for the feature. There isn't any official "non-parallax" term because absent features don't really have terms. Clients also don't need to know what features their websites won't have. Personally, I'd even avoid using the term parallax in a proposal because most non-technical clients won't know what it means. I suggest keeping proposals easy to understand for clients rather than using technical terms just to use them. Also, parallax isn't as significant as responsive so it isn't something that really needs to be mentioned in my opinion.
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
Ren VenturaMemberYou can use the
genesis_attr_{context}
filter. For example:/** * Add a custom ID to the .content container */ add_filter( 'genesis_attr_content', 'rv_attr_content' ); function rv_attr_content( $attr ) { $attr['id'] = 'my-id'; return $attr; }
This article will help you with the contexts available to use:
http://www.rfmeier.net/using-genesis_markup-with-html5-in-genesis-2-0/
Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren
-
AuthorPosts