Forum Replies Created
-
AuthorPosts
-
davidroccato
ParticipantUpdate.
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.
davidroccato
ParticipantAnyone? 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.
davidroccato
ParticipantHi 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,
Davidedavidroccato
Participantmmmhh. 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 🙂
davidroccato
ParticipantOk. 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,
Daviddavidroccato
ParticipantYep, 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?
davidroccato
ParticipantYep, 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.
davidroccato
ParticipantThat's a very nice idea. I did it but it doesn't work. It doesn't change the style 🙁
davidroccato
ParticipantHi,
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...
davidroccato
ParticipantHi,
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.
davidroccato
ParticipantThank 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.
davidroccato
ParticipantHi 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.
davidroccato
ParticipantThank you Andrea. This one seems to be good too. I'll look at it this week end.
-
AuthorPosts