Taro
Forum Replies Created
-
Forum: Hacks
In reply to: Add a comment fieldOk so i should not edit the comment-template.php
Meaning i can only edit the comments.php and function.php
<?php comment_form(); ?> <- this code should be removed and replaced by the code i pased. Above in my 2nd post. But as you told me bcworkz. I can add additional fields useing the defaults. But what if i need to ad like 10 more fields? I need to add more array’s somehow with out addign the core files.
Is this done in the function.php? And if so.. how? ??
Forum: Hacks
In reply to: Add a comment fieldhttps://blog.ideashower.com/post/15147134893/wordpress-plugin-extra-comment-fields
This maybe helps me but i think its not up to date…
[Moderator Note: Please ensure that you are embedding links correctly in your posts.]
Forum: Hacks
In reply to: Add a comment fieldSome more information.
I replaced the code
<?php comment_form(); ?>
With the code:
<?php $comment_args = array( 'title_reply'=>'Got Something To Say:', 'fields' => apply_filters( 'comment_form_default_fields', array( 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Your Good Name' ) . '</label> ' . ( $req ? '<span>*</span>' : '' ) . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 'email' => '<p class="comment-form-email">' . '<label for="email">' . __( 'Your Email Please' ) . '</label> ' . ( $req ? '<span>*</span>' : '' ) . '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' />'.'</p>', 'url' => '' ) ), 'comment_field' => '<p>' . '<label for="comment">' . __( 'Let us know what you have to say:' ) . '</label>' . '<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>' . '</p>', 'comment_notes_after' => '', 'test' => '<p>' . '<label for="test">' . __( 'Hoe maak je kaas?:' ) . '</label>' . '<textarea id="test" name="test" cols="45" rows="8" aria-required="true"></textarea>' . '</p>', 'comment_notes_after' => '', ); comment_form($comment_args); ?>
Why? I need to make different comments-forms on all pages.
With kind regards,
TaroForum: Fixing WordPress
In reply to: SEO plugins not workingIt has to do someting with how i build my site… Probly i forgot something in the header..
Forum: Fixing WordPress
In reply to: SEO plugins not workingSome one an idee?
Forum: Fixing WordPress
In reply to: aligning problem with IE7-9You can try and make a ie style only.
<!–[if IE]>
<link rel=”stylesheet” type=”text/css” href=”https://www.domein.com/css/iestyle.css” />
<![endif]–><?php
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(‘name’=>’sidebarname1’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(‘name’=>’sidebarname2’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(‘name’=>’sidebarname3’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(‘name’=>’sidebarname4’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));
if ( function_exists(‘register_sidebar’) )
register_sidebar(array(‘name’=>’sidebarname5’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));
?>Here this works for me; 5 sidebars. Rember this is just the functions.php
You also need to make te code on the html page where you whant the sidebars.If you whant to remove a sidebar just deleet the peace i marked bold from functions.php
This code must be on the html page
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar(‘sidebarname1’) ) : ?>
<?php endif; ?>etc
Forum: Fixing WordPress
In reply to: SEO plugins not working1st site update works but i dont see meta seo pack in my code… Its active and i put information.
2nd site
Well plugins still not update by wordpress autoupdate. Still says its updated but the are marked as to be updated. Here the seo plugin is working correct.Forum: Plugins
In reply to: [The Piecemaker 2] Can't get Info Text workingThat worked indeed.
Cant change the font color tho ??Forum: Plugins
In reply to: [The Piecemaker 2] Can't get Info Text workingNot working for me aswel ??
look herethe last image(earth) has an info.
This are my settings atm(btw im missing font color to change)
Info Width: 500
Info Background: 0x00000
Info Background Alpha: 0.8
Info Margin: 2
Info Sharpness: 0.7
Info Thickness: 2Gr, Taro