backupplan123
Forum Replies Created
-
Forum: Plugins
In reply to: [Magee Shortcodes] The responsive menu on mobile screen won't stay openI did not get any help with this. so, we went with a different plugin for short code – Shortcodes Ultimate. Everything is working fine now.
Forum: Fixing WordPress
In reply to: Twitter share dialog box is using numbered url instead of permalinkI think this might be it. Not sure what I can change to use the permalink. Thanks very much for your help again. AJ
public static function get_social_share_links( $post_id = 0, $slug = ”, $network = ” ) {
// make sure we have a post ID or slug
if ( empty( $post_id ) && empty( $slug ) ) {
return;
}// get my short link (if a post ID) or just the link if not
$link = ! empty( $post_id ) ? wp_get_shortlink( $post_id ) : get_post_type_archive_link( $slug );// create the text to include
if ( ! empty( $post_id ) ) {
$text = str_replace( ‘ ‘, ‘ ‘, get_the_title( $post_id ) );
} else {
// fetch the object
$object = get_post_type_object( $slug );
// get the name portion
$name = $object->labels->name;
// build the text
$text = $slug !== ‘events’ ? ‘MEFA ‘ . $name : ‘Upcoming MEFA ‘ . $name;
}// spit out the facebook
$facebook = ‘https://www.facebook.com/sharer/sharer.php?u=’ . $link;
// spit out twitter
$twitter = ‘https://twitter.com/intent/tweet?source=webclient&via=mefatweets&text=’ . esc_html( trim( $text ) ) . ‘&url=’ . urlencode( $link );
//spit out linkedin
$linkedin = ‘https://www.linkedin.com/shareArticle?mini=true&source=mefa&url=’ . $link;
// get the printing link
$printlink = ‘#print’;
// get the email share
$emaillink = ‘#email’;
// get the optional RSVP link
$rsvplink = self::get_event_rsvp_link( $post_id );// make my array
$sharelinks = array(
‘facebook’ => $facebook,
‘twitter’ => $twitter,
‘linkedin’ => $linkedin,
’emaillink’ => $emaillink,
‘printlink’ => $printlink,
‘rsvplink’ => $rsvplink
);// send it back
return $sharelinks;
}Forum: Fixing WordPress
In reply to: Twitter share dialog box is using numbered url instead of permalinkis this it? sorry, i’m not well versed with the codes.
$sharelinks = MEFA2014_Helper::get_social_share_links( $post_id );
Forum: Fixing WordPress
In reply to: Twitter share dialog box is using numbered url instead of permalinkA WordPress consultant created this for us a couple of years ago. He’s no longer reachable.
Here are the codes that I found that he used…
if ( ! empty( $sharelinks[‘twitter’] ) ) {
// build the GA link
$show .= MEFA2014_Helper::build_ga_link( array( ‘url’ => $sharelinks[‘twitter’], ‘label’ => ‘Twitter social share’, ‘cat’ => ‘Button’, ‘action’ => ‘Click’ ), ‘item-share-pop’, ‘<i class=”ss-icon ss-social-circle ss-twitter”></i>’, true );
}Thanks for your help.
AJForum: Fixing WordPress
In reply to: Customizer getting fatal error after installing wordpress 4.3mefa-2014 contains our custom theme done by our consultants. Deleting the folder is not an option. Thanks.
Forum: Plugins
In reply to: [Simple Subscribe] post emails stopped workingThis is happening to us too. It did worked before, now no emails are sent out to subscribers when a new blog is posted. Only registered users are getting the emails. Also, there’s no log generated. There were logs before when it was working.
Need help!! Thanks.
Forum: Plugins
In reply to: [Simple Subscribe] No mails sent when new post been scheduledThis has been fixed. Needed to update php to 5.3
Forum: Plugins
In reply to: [Simple Subscribe] No mails sent when new post been scheduledWe just tried the “when a new post is published” option. Again, only registered wordpress users are getting the notifications. Here’s the error message:
Unable to send email: call_user_func_array() expects parameter 1 to be a valid callback, non-static method WP_Feed_Cache::create() should not be called statically.
Thanks.
AJForum: Plugins
In reply to: [Simple Subscribe] No mails sent when new post been scheduledHi,
This is happening to us too. After a new blog is posted, only registered wordpress users received the new blog notifications. All the other subscribers are not getting the notifications at the scheduled times. I haven’t tried to use the “when a new post is published” cron setting yet. We preferred not to, but if that’s the only way to notify subscribers then we will do so.
Thanks.
AJForum: Themes and Templates
In reply to: [Tiny Forge] Moving author and date under the post titleAwesome!! That worked beautifully. Thanks very much!!
Forum: Themes and Templates
In reply to: [Tiny Forge] Moving author and date under the post titleOk. Thanks for the link. I found tip26 – Print HTML bellow post title with meta information for the current post date/time and author. I copied that piece of code located in functions.php into content.php. I’m guessing I’m suppose to copy the code into where it has the comment “tip 26”. Unfortunately, I still don’t see the author date under the title in the post summary page. Here’s our link… blog.mefa.org
Thanks