duskom
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
@jurajpuchky, can you explain what did you changed/altered/added in the code?
Also, can same fix be applied to version 2 of the plugin?
Forum: Hacks
In reply to: Problem with simplecdn.maxcdn.comScott, you have run grep via ssh on host machine?
Forum: Hacks
In reply to: Problem with simplecdn.maxcdn.comI am trying, but not able to find where the call is made
Forum: Hacks
In reply to: Problem with simplecdn.maxcdn.comThis is not a plugin issue. I deactivated all plugins on my site, and there is problem still present
Forum: Hacks
In reply to: Problem with simplecdn.maxcdn.comI have a same problem with my site https://www.roditelji.me
Also, I have script in my header, but i am not sure if it has anything to do with this
<script type='text/javascript' src='https://cdn.jquerytools.org/1.2.5/all/jquery.tools.min.js?ver=3.2.1'></script>
Forum: Fixing WordPress
In reply to: List authors from category by date of latest post with titlesSolved by mixing yet another code from Michael. You can see results here
<ul> <?php //List of users sorted descending by date of lastest post written by user $uc=array(); $blogusers = get_users_of_blog(); if ($blogusers) { foreach ($blogusers as $bloguser) { $user = new WP_User( $bloguser->user_id ); if ( !empty( $user->roles ) && is_array( $user->roles ) && ( in_array('blogeri',$user->roles) ) ){ $userpost = get_posts('showposts=1&author='.$bloguser->user_id); $uc[$bloguser->user_id] = ''; if ($userpost) { $uc[$bloguser->user_id]=$userpost[0]->post_date; } } } arsort($uc); $i = 0; foreach ($uc as $key => $value) { $user = get_userdata($key); $post_count = get_usernumposts($user->ID); if ($post_count && $i < 3) { $author_posts_url = get_author_posts_url($key); //preparing query for titles $args=array( 'author' => $user->ID, 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => 1, 'caller_get_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { //echo 'List of Posts for ' . user->user_firstname . ' ' . $user->user_lastname; while ($my_query->have_posts()) : $my_query->the_post(); ?> <? echo '<p class="classul"><div style="float:left; margin-right:5px">' . get_avatar($user->ID, 46). '</div><a href="' . $author_posts_url . '"><b>Autor:</b> ' . $user->user_firstname . ' ' . $user->user_lastname . '</a><br>'; ?> <b><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></b><br><br></p> <?php endwhile; } wp_reset_query(); } $i++; } } ?> </ul>
Viewing 6 replies - 1 through 6 (of 6 total)