Jack Johansson
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Editing media-template.php in appropriate wayHi steve,
the file is located in
wp-include\media-template.php
It the data views thumbnail URLs of media upload in the admin panel (only grid view).Well i wouldn’t modify core if developers would consider some hooks in thumbnail generation.
Forum: Plugins
In reply to: [WP-PostViews] How to manually add to count?Thanks, the code you provided solved my issue.
Forum: Plugins
In reply to: [Like Dislike Counter] How to use this plugin in a modal?Nevermind, i solved it by using
$post->ID = $id
in the beginning of my modal, but i still would like to know why i can’t directly use post code as an argument.Forum: Plugins
In reply to: [Like Dislike Counter] Support for W3TCHi,
If you are using cache plugins you will have this issue. the likes will count when a visitor likes them, but they won’t show up until you purge the current cache.Forum: Plugins
In reply to: View all categories in list while adding menuNevermind. I found it here,around line 580 in nav-menu.php:
// Paginate browsing for large numbers of objects. $per_page = 50;
All i needed was ti change 50 to whatever number i desire.
Forum: Hacks
In reply to: Get most viewed categories ( popularity contest )Nevermind, i did it with this piece of code:
get_category_link(get_cat_ID($item->name))
. Thanks for the assist!Forum: Hacks
In reply to: Get most viewed categories ( popularity contest )Yes, that worked very nice, thank you. Just one last thing, can i get the link to the category as well? If yes, which part of the PHP file i should modify?
Forum: Plugins
In reply to: [WP-PageNavi] Replace 'text for prev/next page' with imageshi.
well that won’t be tough. you just have to first clear the “Text For Previous Page” and “Text For Next Page” boxes in the admin panel, and then add a code in you css file for the following style:.nextpostslink { background:url(your image url) no-repeat}
&
.previouspostslink { background:url(your image url) no-repeat}“your image url” is the link t the image you wanna use. like : images/myimage.png
you should use the url WITHOUT quotes.
that’s all.