mvanboordt
Forum Replies Created
-
Forum: Plugins
In reply to: [Analyticator] get_currentuserinfo@andydegroo I see what you mean but I ment the core files of the plugin.
The principle is the same. Change the code and loose the changes after an update.Forum: Plugins
In reply to: [Analyticator] get_currentuserinfoGetting the same error. Is there going to be an update soon?
I would rather not edit core files.M.
Forum: Plugins
In reply to: [Job Manager] Update WP 4.4 won't show jobsThomas –
Okay so i’m having a little problem figuring this out.
I can’t get my widget to work like it was used to.I understand that this isn’t your problem in any way but I would really appreciate it if you would care to take a look at it.
So if you do please read on else…. well. Thank you for your time.
I have taken the basic widget that shows all posts from the blog instance. What I did is added the jobman_job post_type and let it sort on date.
What used to happen was that the news and the jobs were mixed together.
Here is how I did it. I hope you can see the problem:
function widget( $args, $instance ) { extract( $args ); function list_all_posttypes() { global $post; global $wp_query; echo '<ul>'; rewind_posts(); // Create a new WP_Query() object $wpcust = new WP_Query( array( 'post_type' => array( 'jobman_job', 'post' ), 'cat'=>'-35,-42,-39,-43,-41,-40,-52', 'showposts' => '4', ) ); if ( $wpcust->have_posts() ): while( $wpcust->have_posts() ) : $wpcust->the_post(); $displayenddate = get_post_meta( get_the_ID(), 'displayenddate', true ); $displaystartdate = get_post_meta( get_the_ID(), 'displaystartdate', true ); if( '' != $displayenddate && strtotime( $displayenddate ) <= time() ) { $my_post['ID'] = get_the_ID(); $my_post['post_status'] = 'draft'; wp_update_post($my_post); continue; } ?> <li> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </li> <?php endwhile; // close the Loop endif; wp_reset_query(); // reset the Loop echo '</ul>';
M.
Forum: Plugins
In reply to: [Job Manager] Update WP 4.4 won't show jobsOke so I updated to the 7.25 version like you suggested and it seems to work again.
I have created a custom widget that shows a mix of the latest blogitems and the latest jobs.It doesn’t seem to work here but that is on me because it’s custom made.
Thnx!
Forum: Plugins
In reply to: [Job Manager] Update WP 4.4 won't show jobsThomas:
I will try to put is on a staging site asap.
Thank you sofar!Forum: Plugins
In reply to: [Job Manager] Update WP 4.4 won't show jobsNo luck. Issue still is there.
I have reset the permalinks and updated to version 7.25Any other ideas?
Forum: Themes and Templates
In reply to: WordPress 4.4 update broke Tag CloudDude,
Like a charm.
Thank you!
Forum: Themes and Templates
In reply to: WordPress 4.4 update broke Tag CloudWow.
Thank you. Great fix and explanation.
I will try it and let you know!!
M.
Forum: Themes and Templates
In reply to: WordPress 4.4 update broke Tag CloudWell…
I fixed with css by setting the font-size to 12px and overruled it with an
!important
.
Not the most elegant solution but for now…..Still have to find out how I can pass the order..
Forum: Themes and Templates
In reply to: WordPress 4.4 update broke Tag Cloud@tictok
Because of your post I was bound to take a look into my functions.php and found:add_filter('widget_tag_cloud_args','set_tag_cloud_args'); function set_tag_cloud_args($args) { $args = array( 'smallest' => 12, 'largest' => 12, 'unit' => 'pt', 'order' => 'ASC', ); return $args; }
After I deleted this from my functions.php the whole thing worked again. However the arguments passed to the tag cloud functions were disabled.
So I have to find a way to pass the arguments………
M.
Forum: Themes and Templates
In reply to: WordPress 4.4 update broke Tag CloudGlad to see that I’m not the only one who has this problem.
But is still remains.
I have no answer/solution yet so I’ll keep on looking at it.I even consider to create my own tagcloud so the problem is sort of fixed.
M.
Forum: Themes and Templates
In reply to: WordPress 4.4 update broke Tag CloudDon’t assume, read…
I told you in the post that I use the widget area in the WordPress admin to add the widget. So I use a standard way to publish the tag Cloud.
As I mentioned before I tried the twentysixteen theme and have the same problem here.
Thnx for your help though…
Forum: Themes and Templates
In reply to: WordPress 4.4 update broke Tag CloudPlease read the entire post. I use a custom theme
Forum: Plugins
In reply to: [Polylang] New posts are not shownThnx!
I’ll come back with a status update!
Forum: Plugins
In reply to: [Polylang] New posts are not shownWell this s**ks.
I have no idea how complicated this is but can you tell me which filters and actions I need to tell them?Thnx for your effort so far!
M.