AJD
Forum Replies Created
-
Unless I’m missing something key, it is not “intuitive” to get lightboxes to work.
Here’s an example of my solution:
Put this in your content:
[lightbox type="inline" src=".gift-box"] <h2>Click Here For Your Lightbox</h2>[/lightbox] <div class="gift-box"> This is what will pop up in the lightbox </div>
add this to your theme .css file:
.gift-box { background: none repeat scroll 0 0 #FFFFFF; border: 2px solid #CCCCCC; border-radius: 5px; height: 50%; margin: 0 auto; padding: 25px; position: relative; width: 50%; } .gift-box { display: none; } .mfp-content .gift-box { display: block; } .su-lightbox > h2:hover { cursor: pointer; opacity: .6; }
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Lightbox questionsHere’s how to do an image:
[lightbox src='https://www.youtube.com/watch?v=YfdkuX2wf9Mg?rel=0&autoplay=1']<img src='yourimage.url' width='width' height='height' alt='alt' title='title'> [/lightbox]
I have the exact same issue. Have tried many different configurations, but it only applies the first parameter.
Forum: Themes and Templates
In reply to: [Arcade Basic] Top header image on each postExplain more what you would like to do exactly.
Or to hide the header on all pages except home, try this:
Add this snippet to your child theme’s functions.php file:
function add_styles(){ //check if we are NOT on the home page. if (!is_home()) { echo '<style type="text/css"> .title-card-wrapper { display: none;} </style>'; } } add_action('wp_head', 'add_styles');
Forum: Themes and Templates
In reply to: [Arcade Basic] Remove "see more"Create a child theme and copy header.php into it.
Comment out line 68: (v-1.0.3)
<!--<a href="#" id="more-site" class="btn btn-default btn-lg"><?php _e( 'See More', 'arcade' ); ?></a> -->
Forum: Themes and Templates
In reply to: [Arcade Basic] add posts to single pageIf you want your posts on the Front Page (non-static) AND another single page, one option is to create a custom page template that calls the posts loop.
An easy way to do this is copy the index.php file, save it as: custom-post-page.php.
Then at the top insert this:
/* Template Name: Custom Post Page */
Then create a new page and assign this template to it.
Forum: Plugins
In reply to: [WP FullCalendar] Colours not used on all eventsNothing conclusive, yet.
Forum: Fixing WordPress
In reply to: Require email authentication before account activationThe Theme My Login Plugin has the function and customizable messages as well.
Forum: Plugins
In reply to: [WP FullCalendar] Colours not used on all eventsI submitted a feature request on this, asking for more fine-grained category color handling.
Forum: Themes and Templates
In reply to: [Highwind] Remove Open Sans and add custom fontsThat is strange. It is working fine on one site, but not on another.
Thanks for the solution, I’m going to paste it here:// Remove Open Sans that WP adds from frontend if (!function_exists('remove_wp_open_sans')) : function remove_wp_open_sans() { wp_deregister_style( 'open-sans' ); wp_register_style( 'open-sans', false ); } add_action('wp_enqueue_scripts', 'remove_wp_open_sans'); // Uncomment below to remove from admin // add_action('admin_enqueue_scripts', 'remove_wp_open_sans'); endif;
Update:
The .em-search-ajax snippit from above is breaking event and category pagination.When clicking page 2 for example it tries to load the next page with ajax and fails to an empty page. (Not a white screen.)
Back to the drawing board, for now I will disable ajax in the search sidebar widget, since it works fine without it.
I hope the Events Manager developers release a sidebar search in a future update.
HI,
So I was looking for additional help writing this placeholder by browsing the file where the placeholders are created: classes/em-event.php – at line 2635 there is a placeholder defined as : is_current.{is_current} This event is in progress. {/is_current}
This placeholder does exactly what I am trying to do. It is just absent from the documentation.
regards,
AJThat is good news!
Thanks for your help.
Version 5.5.2
After I updated the recurring events, it recreated all past instances as well and now I am no longer getting the error.
However now I still have over 1000 past events generated by the recurring events that I would like to delete. I will try again and see if it creates the error again.
Hello,
Thank you for the response. I do not think I have the PHP skills to create this placeholder.So for now it is just a suggestion per your site:
If there are any conditional placeholders you feel are missing, feel free to suggest them! We’ll be regularly expanding this list, so if it’s useful to others we’ll probably add it at some point.
Thank You.