MemberPress: Mailchimp Feed Unblocker

function allow_mc_through( $block, $post, $uri ) { if( isset( $_GET[‘allow_mailchimp’] ) ) { $block = false; } return $block; } add_filter( ‘mepr-pre-run-rule-content’, ‘allow_mc_through’, 11, 3 );Continue reading

MemberPress: Manually Refresh Member Data

/** * Manually refresh all members’ data. * * Once this snippet is added, visit /wp-admin/?update-member-data=true on your site to update all member data. * After running the update, clear any site cache and check the Members page again. */…Continue reading

Titel aanpassen archive page

function custom_category_title( $title ) { $title = str_replace( ‘Archieven’, ‘Mijn gewenste titel’, $title ); return $title; } add_filter( ‘archive_title’, ‘custom_category_title’ );Continue reading

Author pages

/* * Display author’s profile info and photo * */ function display_author_profile_section($atts) { ob_start(); // Use attributes, set defaults if not provided $atts = shortcode_atts(array( ‘tag’ => ” ), $atts); $tag_slug = $atts[‘tag’]; // Get the current tag from the…Continue reading

index.php

CIU Textbook Library Textbook Library Add a New Book Title: Author: Year: Books List ID Title Author Year No books foundContinue reading