hasdf
Forum Replies Created
-
Forum: Plugins
In reply to: [Event Rocket] How to have Filter, Calendar & Posts on homepage?What do I have to change to load the Blog-Posts before the calendar (and before the filter bar)?
Of course it did work… Well this might be the noobiest code in history of this support-forum, but it does what I want: Show the first sticky blog post.
$sticky = get_option( 'sticky_posts' ); $args = array( 'posts_per_page' => 1, 'post__in' => $sticky, 'ignore_sticky_posts' => 1 ); $query = new WP_Query( $args ); if ( isset($sticky[0]) ) { $queried_post = get_post($sticky[0]); $title = $queried_post->post_title; echo $title; echo $queried_post->post_content; }
Sorry for double-post – can’t edit the post anymore.
Already tried to copy this to the top of ‘/twentyfifteen/plugins/events-manager/templates/events-list.php’:
https://codex.www.ads-software.com/Sticky_Posts#Display_Sticky_PostsDidn’t show anything, but typing in just ‘test’ changed the events list.
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] file upload urls not mapped correctlyThank you, that solved the problem!
That resolved my issue. But never the less that’s a bug, isn’t it?
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] file upload urls not mapped correctlyI don’t know what you mean. Where should I add the s?
I had enabled “WordPress Force HTTPS” [1] on both main site and on the network sites.
Now it is deactivated and still there’s no change (Neither with https nor with http).Forum: Plugins
In reply to: [WordPress MU Domain Mapping] file upload urls not mapped correctlywww (dot) freiraum-passau (dot) org/2014/10/06/herbst-alleycat/
Forum: Plugins
In reply to: [WordPress MU Domain Mapping] file upload urls not mapped correctlyNope – not in wordpress and not on the host itself.