hicks78
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Minimal Grid] The navigation menu problemAfter some more testing finally I’m using this code:
<script> function nomenu(){if(window.innerWidth > 992) document.getElementsByClassName('nav-panel-toogle')[0].click();}; window.onload = setTimeout(nomenu,900); </script>Forum: Themes and Templates
In reply to: [Minimal Grid] The navigation menu problemHi, I wanted the same so I finally used some javascript (I added this to the footer):
<script> window.onload = function() { if(window.innerWidth < 992) document.getElementsByTagName('body')[0].classList.add('extended-menu'); else document.getElementsByTagName('body')[0].classList.remove('extended-menu'); }; </script>Hope it helps somebody until theme team answers with better solution
- This reply was modified 6 years, 6 months ago by hicks78.
Forum: Plugins
In reply to: [Avatar Manager] Trying to get the avatar urlThanks for the answer, then I guess I have to wait until the plugin can handle what I need.
Forum: Plugins
In reply to: [Autoptimize] Another issue with CDNOk, thanks, so ¿is there any way I can tell the plugin to store the files to another folder? (editing the php code)
Forum: Themes and Templates
In reply to: [Hueman] How to remove pingbacks tab next to the comments tabSame issue here as gouranga, Pingbacks tab removed but some of the comments (not all) are removed too, weird.
Any other solution? Thanks!
Forum: Plugins
In reply to: [View Own Posts Media Only] Excludes Other Users CommentsHey thanks for the fix its_cooperation
I just added // to all the lines, I dont need that function, on frontend nor backend.
Cheers!Forum: Themes and Templates
In reply to: [Hueman] Comments not showing up if user logged inOk forget it, just found the problem.
Plugin: View own posts and media library items only
Causing the issue, its weird because its meant to show only own posts and media library items in the backend, not the frontend.+1 Same here
Hi, I’m having same issue. Using WP 4.3.1 and plugin 4.4
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Option to show category in widgetWorks great thanks!
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Option to show category in widgetHey thanks for the answer!
I understand the issue you mention but for blogs like mine where a post only has one category is not a problem, Im showing only the title of the post at the moment.
So the option in the widget to show the category would be great. Waiting for the new release, thanks for this great plugin.
create a new page template
for example: page-mostliked.phpuse that code in it
make a new page in wordpress using the new template
hey finally it worked for me, just made a new page template and used the FAQ code:
<?php $the_query = new WP_Query(array( 'post_status' =>'published', 'post_type' =>'post', 'orderby' => 'meta_value_num', 'meta_key' => '_liked', 'paged' => (get_query_var('paged')) ? get_query_var('paged') : 1 )); ?>By the way, theres a tiny typo in the code: published should be publish in the query. 🙂
just after the ´</span>´ tag:
echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span><br />' : ''; echo $after;or just do a new line:
echo $show_count == '1' ? ' <span class="wp_counter_span">'.wp_ulike_format_number($post_count).'</span>' : ''; echo '<br /> or whatever you want to put here'; echo $after;I modified a bit the widget for my theme but I’m not a programmer.
Just go to wp-content/plugins/wp-ulike/admin/classes
open class-widget.php
lines 39 to 41 is where you find the code for mos liked posts, or look for the function you need to modify the output, its easy to find.
If you want to separate the lines just add a
<br />or<hr />after the last</span>label of the “echo” line (or write a new line).Hope it helps