awpt
Forum Replies Created
-
Forum: Plugins
In reply to: [Bug Library] [Error] TypeError: undefined is not a functionNo problems, Im working localy at the moment working with my bbpress templates thankyou for your response your plugin is a great solution for my products and customers.
Forum: Plugins
In reply to: [Bug Library] [Error] TypeError: undefined is not a functionAlso I have created a new bug from wp-admin for a product but still viewing this message:
There are 0 bugs to view based on the currently selected filters.- This reply was modified 8 years, 5 months ago by awpt.
Forum: Plugins
In reply to: [WP-IssueTracker] Adding in pagetried to replace the
add_filter('the_content', 'it_output', 999);with
add_shortcode('tracker', 'it_output');but no luck
Forum: Plugins
In reply to: [Favorites] How to use our own button code?Since the button looks different on the different browsers I resolved using jquery:
function:
//Custom favorite button requires favoriteposts plugin if (function_exists('get_favorites_button')) { add_filter( 'favorites/button/html', 'custom_favorites_button_html', 10, 4 ); } function custom_favorites_button_html($html, $post_id, $favorited, $site_id) { $html = '<i class="fa fa-heart ico_heart" aria-hidden="true"></i>'; return $html; }jQuery:
jQuery(function() { jQuery('button').each(function(){ var clone = document.createElement('li'); for(var i = 0, len = this.attributes.length; i < len; i++) { clone.setAttribute(this.attributes[i]['name'], this.attributes[i]['value']); } jQuery(this).contents().unwrap().wrap(clone); }) });If you can make it easier would be great but for now I have resolved using the jquery.
- This reply was modified 8 years, 6 months ago by awpt.
Forum: Plugins
In reply to: [Favorites] How to use our own button code?I was checking your documentation on your site
for example
add_filter( 'favorites/button/html', 'custom_favorites_button_html', 10, 4 ); function custom_favorites_button_html($html, $post_id, $favorited, $site_id) { $html = 'test'; return $html; }this one is changing only the button text but still using the
<button>So it doesnt change the html but only the button text.Also is it possible to disable the auto display under the post content from theme functions?
Thankyou resolved. the plugin is also perfect.
thankyou the globals above figuret it out thanks for the plugin.
I created a template file with following codes:
<?php global $elp_altmsg; global $elp_includes; global $arr; $elp_name = trim($arr['elp_name']); $elp_desc = trim($arr['elp_desc']); $elp_group = trim($arr['elp_group']); $url = home_url(); global $elp_includes; if (!isset($elp_includes) || $elp_includes !== true) { $elp_includes = true; ?> <script language="javascript" type="text/javascript" src="<?php bloginfo('template_directory'); ?>/templates/subscribe/subscribe.js"></script> <?php } ?> <div id="awpt-subscribe-form"> <?php if( $elp_desc <> "" ) { ?> <p class="form_title elp_msg"><?php echo $elp_desc; ?></p> <?php } ?> <p class="form_title elp_msg"><span id="elp_msg"></span></p> <?php if( $elp_name == "YES" ) { ?> <input type="text" autocomplete="off" placeholder="<?php echo _e('Your Name', 'tubemobile'); ?>" class="input elp_txt_name" name="elp_txt_name" id="elp_txt_name"> <?php } ?> <input type="email" autocomplete="off" placeholder="<?php echo _e('E-mail', 'tubemobile'); ?>" class="input elp_txt_email" name="elp_txt_email" id="elp_txt_email"> <div class="btn_block"> <input type="submit" value="<?php echo _e('Subscribe Now!', 'tubemobile'); ?>" name="elp_txt_button" class="elp_txt_button" id="elp_txt_button" > <input name="elp_txt_group" class="elp_txt_group" id="elp_txt_group" value="<?php echo $elp_group; ?>" type="hidden"> <?php if( $elp_name != "YES" ) { ?> <input name="elp_txt_name" class="elp_txt_group" id="elp_txt_name" value="" type="hidden"> <?php } ?> </div> </div>No Errors but there is something wrong with the js I cannot get the status alert on submit click.
Im using your widget.js and the above file in theme.
Forum: Plugins
In reply to: [Front End Users] undefined variable: StylesStringI will try it again thanks for your reply I was very busy at this time but I realy like your plugin i will test it again and will let you know all.
Forum: Plugins
In reply to: [Front End Users] undefined variable: StylesStringAdded also a login and registration form to test the plugin but realy many undefined idex variables in your plugin
Notice: Trying to get property of non-object in /var/www/html/mytheme/wp-content/plugins/front-end-only-users/Functions/Process_Front_End_Forms.php on line 89another one
Notice: Undefined variable: StylesString in /var/www/html/mytheme/wp-content/plugins/front-end-only-users/Functions/EWD_FEUP_Styling.php on line 11 Notice: Undefined index: Payment_Required in /var/www/html/mytheme/wp-content/plugins/front-end-only-users/Shortcodes/Insert_Login_Form.php on line 60 Login failed - incorrect username or passwordAll this php notices are not scure and will effect on server load.There are many many other php warning and notices.
Forum: Plugins
In reply to: [Visitor Maps and Who's Online] Plugin not counting any moreYes I think the problem in any configuration on the server however thanks for your reply.
Forum: Plugins
In reply to: [Categories Images] Display featured image on archive pageWhat do you mean? Displaying taxonomy image in the taxonomy archive or Im wrong?
Forum: Plugins
In reply to: [Categories Images] don´t show the category imagesUse z_taxonomy_image_url() in
<img src="<?php echo z_taxonomy_image_url($term->term_id)); ?>"also your link code is wrong use<?php echo get_term_link($term->slug, 'cat_produtos'); ?>instead<?php $taxonomy = 'cat_produtos'; $produtos = get_terms($taxonomy); ?> <?php foreach ($produtos as $produto): ?> <div class="col-md-4"> <a href="<?php echo get_term_link($produto->slug, 'cat_produtos'); ?>" title="<?php echo $produto->name; ?>"> <img src="<?php echo z_taxonomy_image_url($produto->term_id,NULL, array(180, 240)); ?>" class="img-responsive center-block" alt="<?php echo $produto->name; ?>" /> </a> <h1><?php echo $produto->name; ?></h1> </div> <?php endforeach; ?>You can see more examples on developer’s site
Forum: Plugins
In reply to: [Visitor Maps and Who's Online] Plugin not counting any moreForgot this:
3 visitors online now
0 guests, 2 bots, 1 members
Max visitors today: 18 at 01:27 am UTC
This month: 297 at 02-03-2016 08:01 pm UTC
This year: 306 at 01-26-2016 08:56 am UTC
All time: 616 at 02-24-2015 05:12 pm UTCIts strange because there are some guys on my site
Forum: Plugins
In reply to: [WP Parallax Content Slider] When install the plugin menu goes awayFixed by removing a display:none; from css modernizr.js was causing this issue