• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

davidroccato

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • April 3, 2015 at 8:11 am in reply to: How to Customize Comment Box in News Pro Theme? #146548
    davidroccato
    Participant

    Update.

    I tried and at the end the only codes that worked were the ones David (thanks a lot) gave me from Brad. The others simply break the site, even the ones written from studiopress here: http://my.studiopress.com/snippets/comments/

    I could fix the point 1 and 2 but I can't find anything for converting the messages in plain text.

    April 2, 2015 at 1:26 pm in reply to: How to Customize Comment Box in News Pro Theme? #146488
    davidroccato
    Participant

    Anyone? I'm quite sure the answer is not too far from here but I would prefer to get closer before doing some test. This weekend I'll probably have more time to test everything.

    Thanks a lot.

    April 1, 2015 at 3:55 am in reply to: How to Customize Comment Box in News Pro Theme? #146348
    davidroccato
    Participant

    Hi David, thank you for your reply.

    I've looked around and I've found few things but they are not all exaclty and I'd like to compact them in just one function. But I don't feel to do any test without being more or less sure before. This is what I've found.

    1) This will remove the comment notes and do other things

    //***Customize The Comment Form**/
    add_filter( 'comment_form_defaults', 'bourncreative_custom_comment_form' );
    function bourncreative_custom_comment_form($fields) {
    	$fields['comment_notes_before'] = ''; //Removes Email Privacy Notice
        $fields['title_reply'] = __( 'Share Your Comments & Feedback:', 'customtheme' ); //Changes The Form Headline
    	$fields['label_submit'] = __( 'Share My Comment', 'customtheme' ); //Changes The Submit Button Text
    	$fields['comment_notes_after'] = ''; //Removes Form Allowed Tags Box
        return $fields;
    }

    2) This will remove the URL

    function crunchify_disable_comment_url($fields) { 
        unset($fields['url']);
        return $fields;
    }
    add_filter('comment_form_default_fields','crunchify_disable_comment_url');
    

    3) This is the one you gave me that do the same above but in another way.

    add_filter( 'comment_form_default_fields', 'remove_comment_author_website_url_field' );
    function remove_comment_author_website_url_field( $fields ) {
    
    if ( isset( $fields['url'] ) )
    unset( $fields['url'] );
    
    if ( isset( $fields['fields']['url'] ) )
    unset( $fields['fields']['url'] );
    
    return $fields;
    }

    Is the point 2 enough? Can I just add the line  unset($fields['url']); to the first function?

    Also, in the first function maybe I should replace with: comment_form_default_fields

    4) If the above is correct, what I miss is just how to convert in plain text the message.

    I've seen that there is the option $fields ['format'] = 'xhtml'; but I don't know if this make sense and if I can change it in just simple text.

    Thank you very much,
    Davide

    January 22, 2014 at 12:28 pm in reply to: News Pro – How to Styling wp_link_page() ? #86501
    davidroccato
    Participant

    mmmhh. The problem is I don't know what to write inside. 🙂 I tried to replace with the example, or something else but nothing shows up. I'm more as an artist and a writer than a developer.

    And also, I don't even know how I should separate the written "page" from the static number, and surround it by a red box. Probably, the only thing I know is the red color #FF370F, not so much indeed 😛

    Could you help with the last thing, please? When you have time, it's ok.

    Thanks 🙂

    January 22, 2014 at 12:06 pm in reply to: News Pro – How to Styling wp_link_page() ? #86495
    davidroccato
    Participant

    Ok. Thank you very much. It looks better now and more comprehensible but it doesn't display all the boxes and the "naked" number looks ugly. I tried to match the code on the other example but it doesn't work. In the demo all the page numbers have a box and the page views is highlighted with a red box, that would be perfect.

    Do you know how to do that?

    Thanks,
    David

    January 22, 2014 at 11:35 am in reply to: News Pro – How to Styling wp_link_page() ? #86492
    davidroccato
    Participant

    Yep, it works a bit better now but it shows only 1 box, maybe because of the short distance between the numbers.

    I'm trying different solutions...

    Should I change only the rem values?

    January 22, 2014 at 10:57 am in reply to: News Pro – How to Styling wp_link_page() ? #86481
    davidroccato
    Participant

    Yep, w3 total cache,

    I've emptied the cache and the written "Pagine 1 2" look the same, but there is more space at the top and at the bottom of them.

    January 22, 2014 at 10:51 am in reply to: News Pro – How to Styling wp_link_page() ? #86479
    davidroccato
    Participant

    That's a very nice idea. I did it but it doesn't work. It doesn't change the style 🙁

    January 22, 2014 at 10:15 am in reply to: News Pro – How to Styling wp_link_page() ? #86474
    davidroccato
    Participant

    Hi,

    I tried to change the example and you should see it now but in any case, this is the link: http://list25.com/25-epic-fail-gifs/

    I understand more or less what you're saying and I tried to inspect the element but it's not so easy for a newbie.

    So, I should go to they style.css, and at the bottom add something like that?

    .entry-pagination {
    code
    } 

    I'd like to have the written PAGE at the beginning, at then all the boxes 1 2 3...

    January 22, 2014 at 9:53 am in reply to: News Pro – How to Styling wp_link_page() ? #86465
    davidroccato
    Participant

    Hi,

    Sure, I created an example post here: http://italianeography.com/incredibooth-e-wow-camera-pro-gratis-ora/

    And I'd like to create something bigger like in the example, more or less, not with the same colours.

    January 19, 2014 at 12:47 pm in reply to: Changing Post Date, as Last Updated Date… #85923
    davidroccato
    Participant

    Thank you @genwrock.

    The first plugin is old 2 years. The second might be good though.

    For the record, I just add Jennifer's suggestion that I'm using now: http://wordpress.org/plugins/last-updated-shortcode/

    Thanks.

    January 19, 2014 at 12:14 pm in reply to: Genesis Translations #85915
    davidroccato
    Participant

    Hi Remkus,

    I'd like to translate the News Pro theme, that's not translated in my language. I sent you an email so that you can explain me what to do exactly. Thanks.

    December 5, 2013 at 10:10 am in reply to: Best plugin for advertising? #77230
    davidroccato
    Participant

    Thank you Andrea. This one seems to be good too. I'll look at it this week end.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble