TesterGP
Forum Replies Created
-
Hi dear,
For the title I found out I can use get_the_title. And for the image I use the standard WP code.
BUT how to retrieve the address, start and end date/time and the name of the location? By looking into the code of the plugin I found $location, but I am not able to get the data.
I tried following codeglobal $ai1ec_registry; $event = new Ai1ec_Event( $post->ID ); $start_time = $event->start_time; // Standard date $short_start_time = $event->short_start_time; // Short-form date $long_start_time = $event->long_start_time; // Long-form date // End time $end_time = $event->end_time; // Standard date $short_end_time = $event->short_end_time; // Short-form date $long_end_time = $event->long_end_time; // Long-form date // Convenient shortcut to output event's timespan $timespan_html = $event->timespan_html; // All-day event? (boolean) $allday = $event->allday; // Location (plain text, wrap this in a call to nl2br() to be HTML-formatted) $location = $event->location;
This is is not working. I need to be able to use the data stored using the plugin in a custom display.
Ca someone tell me how to get the date,time, location and room name please?OK, thanks Ben.
OK. Thanks!
1) Ok, I found out that when a logged in user is submitting an event, his ID is automatically saved with is event. Perfect.
2) still not resolved. As this ticket has been set to resolved, I will post this question again.
3) I found the shortcode[ai1ec_interactive_frontend]
Any suggestions?
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Frontend 1.2.4 not workingHi Benjamin,
Can I send you an email or pm with the url? I can’t publish the URL on forums for customer related purposes.OK Thx!
And to get the expiration date?Dear Andrew,
Thx for your answer. But I only want the name of the subscribed pack, not all the rest of the retrieved data from the shortcode [wpuf_sub_info]. No need of pack’s remaining post count and expiration date of pack.
This bug has been resolved in version 2.3.12.
Just upgraded to version 2.3.12. Point 2 from above post (taxonomy IDs added to taxonomy) seems to be resolved in the new version. Thanks for it.
Still the bug of the categories in the forms to solve (see point 1).
In the meanwhile I found out that the custom field I want to populate is named wpcf-theme and that Types has a similar file types/includes/fields/select.php. So I tried the same code as above but with wpcf-theme in place of theme and types/includes/fields/select.php?name=wpcf-theme but it didn’t work. Any suggestions?
Forum: Plugins
In reply to: [WordPress Popular Posts] Shortcode how to filter on cat AND tagOK, thanks.
Would be great if it will be possible to filter on categories AND/OR tags. So we can add related posts from different categories.
By the way, very good widget!Forum: Plugins
In reply to: [App Store Assistant] Generating thumbnails for post listingDear sealsystems,
Where to point style sheet to use those cached images?
I changed already in app-store-assistant/includes/app-store-functions.php the order of the to use images. This works already for the single post.function appStore_getBestIcon($appID) { //MODiFIED the image name extensions to fit smaller images to load in page $filename = false; $firstChoice = CACHE_DIRECTORY."AppStore/".$appID."/artworkUrl512.png"; $secondChoice = CACHE_DIRECTORY."AppStore/".$appID."/artworkUrl512-post.jpg"; $thirdChoice = CACHE_DIRECTORY."AppStore/".$appID."/artworkUrl512-list.png"; $fourthChoice = CACHE_DIRECTORY."AppStore/".$appID."/artworkUrl60.jpg"; $fifthChoice = CACHE_DIRECTORY."AppStore/".$appID."/artworkUrl512-featured.png"; $sixthChoice = CACHE_DIRECTORY."AppStore/".$appID."/artworkUrl100.png"; $lastChoice = dirname( plugin_basename( __FILE__ ) )."/images/CautionIcon.png";
In the theme I use to display multiple posts the code in the archive.php is
<?php if (has_post_thumbnail()): ?> <?php the_post_thumbnail(array(80,80), array('class' => "alignleft") ) ?> <?php else: ?> <img src="<?php myabp_print_thumbnail_url(); ?>" height="80" width="80" alt="<?php echo $post->post_title; ?>" align="left" /> <?php endif ?>
I guess this is the place I have to call the icon function of App Store Assistant. But which code to add in place of <?php myabp_print_thumbnail_url(); ?> ?
Forum: Plugins
In reply to: [App Store Assistant] Generating thumbnails for post listingDear sealsystems,
Yes, each numbered folders contains .png .jpg and .jpeg images. The .png are mostly artworkUrl100.png, artwork512-xxx.png, artworkUrl60.png.
Forum: Plugins
In reply to: [App Store Assistant] Generating thumbnails for post listingThat is telling me that Cacheing is off.
Caching settings in App Store settings are enabled. Do I have to enable somewhere else the caching?
Dear Coreylee,
In order to generate some thumbnails that my website can use, I had to add some code to app-store-functions.php
I added your code add the end of app-store-functions.php and when loading the page with apps on it I got following error message :
Fatal error: Call to undefined function wp_get_current_user() in /home3/ws/public_html/wp-includes/capabilities.php on line 1281.
I am running WordPress 3.6.1.