gld
Forum Replies Created
-
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Custom Post Types Not ShowingNo! None of these things. It is basic code that’s placed within the functions.php file (see above).
Forum: Plugins
In reply to: [Gravity Forms + Custom Post Types] Custom Post Types Not ShowingHi Luke. To be sure that this was the same, I took one of the custom post types that ‘can be seen’ and copied it before text replacing with the new custom post type to make sure that any setup variant is eliminated. I also moved it to be called in the function immediately after the last type that does appear in the list. Didn’t change anything unfortunately. Do you have a configuration guide that I can check against?
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Archive Page TitleTaking your lead, I played around with looking at other hooks but no matter how early I call the function, it still takes the archive record. So I’ve now taken the passing parameters idea you have here and this is now working the way I want it. Thank you!
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Archive Page Titleok I’ve done that but now it uses the title of the first record in the loop.
$posts_per_page = 6; echo '<article class="page type-page status-publish entry">'; echo '<div class="wrap">'; $share_buttons = show_share_buttons(); if ( have_posts() ) { $counter = 0; $page_no = htmlspecialchars($_GET["page"]); $total_posts = wp_count_posts(); $max_pages = round($total_posts/$posts_per_page); if ( empty ($page_no) ) $page_no=1; if ( $page_no > $max_pages ) $page_no=1; $start_post_no = ( $posts_per_page * $page_no ) - $posts_per_page; $end_page_no = $start_post_no + $posts_per_page; while ( have_posts() ) { the_post(); if ( $counter < ( $start_post_no + $posts_per_page ) ) { if ( $counter >= $start_post_no ) { echo '<div class="first"></div>'; echo '<h1>' . get_the_title() . '</h1>'; $profile_image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post ), 'medium' ); if ( !empty($profile_image_url) ) echo '<img src="' . $profile_image_url[0] . '" class="alignleft">'; echo the_content(); echo '<p> </p>'; } $counter++; } } echo $share_buttons; } echo '</div>'; echo '</article>';
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Archive Page TitleHere you go:
<?php //* Display the content remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'child_do_custom_loop' ); add_filter( 'get_the_archive_title', function ( $title ) { $title = 'The Arcato Team'; return $title; }); function child_do_custom_loop() { $posts_per_page = 6; echo '<article class="page type-page status-publish entry">'; echo '<div class="wrap">'; if ( have_posts() ) { $counter = 0; $page_no = htmlspecialchars($_GET["page"]); $total_posts = wp_count_posts(); $max_pages = round($total_posts/$posts_per_page); if ( empty ($page_no) ) $page_no=1; if ( $page_no > $max_pages ) $page_no=1; $start_post_no = ( $posts_per_page * $page_no ) - $posts_per_page; $end_page_no = $start_post_no + $posts_per_page; while ( have_posts() ) { the_post(); if ( $counter < ( $start_post_no + $posts_per_page ) ) { if ( $counter >= $start_post_no ) { echo '<div class="first"></div>'; echo '<h1>' . get_the_title() . '</h1>'; $profile_image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post ), 'medium' ); if ( !empty($profile_image_url) ) echo '<img src="' . $profile_image_url[0] . '" class="alignleft">'; echo the_content(); echo '<p>?</p>'; } $counter++; } } echo show_share_buttons(); } echo '</div>'; echo '</article>'; } // Run the loop genesis();
The show_share_buttons() function is in my functions.php. Here’s the code for that:
// return the page share buttons function show_share_buttons( $padding=true) { $return_string = '<div class="first alignright">'; if ($padding) $return_string .= '<p>?</p><p>?</p>'; $return_string .= '<p><b>Share:</b> ' . do_shortcode('[feather_share]') . '</p>'; $return_string .= '</div>'; return $return_string; }
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Archive Page TitleThis page is an archive loop for a custom post type that I called ‘team’. There is a php function I have created in my functions.php called show_share_buttons() . The code for this functions is as follows and the function is called form the bottom of each of my pages.
// return the page share buttons function show_share_buttons( $padding=true) { $return_string = '<div class="first alignright">'; if ($padding) $return_string .= '<p> </p><p> </p>'; $return_string .= '<p><b>Share:</b> ' . do_shortcode('[feather_share]') . '</p>'; $return_string .= '</div>'; return $return_string; }
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Archive Page TitleThanks! One of the pages with the issue is here: https://arcatolabs.com/team/
great thanks. That works. Was hoping for a hook so we could avoid touching the plugin itself but anyway, that’s fine. Thanks!
We use the Amazon Cloud service (SES) and have it properly configured with SPF & DKIM . However it seems to be a browser issue because the error reports via ajax instantaneously.
I’m having this same issue although it appears to be intermittent. For example a user complained the other day they were seeing this issue but when I used their email address and tried the reset it worked fine. Today I’m trying with another user and am seeing this error on Firefox (for Mac) but it works just fine with the same user on Safari. All my users use email as their login.
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Message Content Preview starts with a dotOh geez. I’m a goofball. Sorry to waste your time. I guess I was trying to add padding above (which I’ve now done with the styling instead. Thanks for taking the trouble!
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Message Content Preview starts with a dotI can’t see anything obvious that would cause this. I’m assuming the line in question is this one:
<div style="padding: 15px 0;">%content%</div>
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Message Content Preview starts with a dotThanks! here is the template. It’s pretty vanilla and close to the original template you ship with.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;UTF-8" /> </head> <body style="margin: 0px; background-color: #e4e7e9; font-family: Helvetica, Arial, sans-serif; font-size:12px;" text="#444444" bgcolor="#F4F3F4" link="#0075bd" alink="#0075bd" vlink="#0075bd" marginheight="0" topmargin="0" marginwidth="0" leftmargin="0"> <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#e4e7e9"> <tbody> <tr> <td style="padding: 15px 15px 100px 15px;"><center> <table width="550" cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff"> <tbody> <tr> <td align="left"> <div style="border: solid 1px #d9d9d9;"> <table id="header" style="line-height: 1.6; font-size: 12px; font-family: Helvetica, Arial, sans-serif; border: solid 1px #FFFFFF; color: #444;" border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tbody> <tr> <td style="color: #ffffff;" colspan="2" valign="bottom" height="30">.</td> </tr> <tr> <td style="line-height: 32px; padding-left: 30px;" colspan="2" valign="baseline"><span style="font-size: 32px;"><img class="alignnone size-medium wp-image-539" src="https://visualfoundry.net/wp-content/uploads/2015/09/Logo-Mailer.png" alt="Logo-Mailer" width="240" height="52" /></span></td> </tr> </tbody> </table> <table id="content" style="margin-top: 15px; margin-right: 30px; margin-left: 30px; color: #444; line-height: 1.6; font-size: 12px; font-family: Arial, sans-serif;" border="0" width="490" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tbody> <tr> <td style="border-top: solid 1px #d9d9d9;" colspan="2"> <div style="padding: 15px 0;">%content%</div> </td> </tr> </tbody> </table> <table id="footer" style="line-height: 1.5; font-size: 12px; font-family: Arial, sans-serif; margin-right: 30px; margin-left: 30px;" border="0" width="490" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tbody> <tr style="font-size: 11px; color: #999999;"> <td style="border-top: solid 1px #d9d9d9;"> <div style="padding-top: 15px; padding-bottom: 1px;"><img style="vertical-align: middle;" src="https://visualfoundry.net/wp-admin/images/date-button.gif" alt="Date" width="13" height="13" /> Email sent %date% @ %time%</div> <div><img style="vertical-align: middle;" src="https://visualfoundry.net/wp-admin/images/comment-grey-bubble.png" alt="Contact" width="12" height="12" /> For any requests, please contact <a href="mailto:%admin_email%">%admin_email%</a></div> </td> <td style="border-top: solid 1px #d9d9d9;"> <div style="padding-top: 15px;"><img class="alignright size-full wp-image-538" src="https://visualfoundry.net/wp-content/uploads/2015/09/favicon.png" alt="favicon" width="30" height="30" /></div> </td> </tr> <tr> <td style="color: #ffffff;" colspan="2" height="15">.</td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> </center></td> </tr> </tbody> </table> </body> </html>
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Repeat DonationThanks Devin, this is extremely important to us. Once it is done, this will enable us to then leave PayPal (legacy) and go with your Stripe plugin to complete our customers’ integration.
Forum: Plugins
In reply to: [Share Buttons] Buttons show up when applying 'the_content' filterWell I don’t think that’s standard way. What hook would I use for this?