Darko A7
Forum Replies Created
-
Forum: Reviews
In reply to: [Admin Custom Font] Works great!Hi Frank, Thanks!
Forum: Reviews
In reply to: [Admin Custom Font] A new "must-have" for WP 4.6!Hi,
New plugin version 1.0.5 was released few days ago (but support forum was closed because of upgrade).
Now, it replaces virtually every font @ WordPress admin dashboard (except Post Editor, as it looks weird with OpenSans).
If you find any area which is still left uncovered, just let know.
Also, would you consider updating the review rating of the plugin (this is our first WP plugin ever :)), because 3 stars is kind of misleading as if the plugin does not work or something.
Thanks,
Appreciated.Forum: Reviews
In reply to: [Admin Custom Font] A new "must-have" for WP 4.6!Hi, there was an unintentional branch-structure bug introduced in version 1.0.2, but it was quickly resolved in version 1.0.3 (as far as I can tell, since I cannot reproduce any of the above in several systems — with oldest PHP version 5.4.x).
PHP 5.3 is EOL since 14 Aug 2014, so it is a pretty old version, but none of the functions used in this plugin are PHP-version critical (as long as it is at least 5.x).
Forum: Reviews
In reply to: [Comet Cache] Great!Thanks Raam Dev for your answer, much appreciate it!
I think I have managed to add Clear Cache shortcut in the Admin Toolbar:
It is far from elegant solution I would like, but it works for now. If I get some time, will try to extend methods from the plugin and put theme in the theme.
Thanks again and best regards!
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?My plugin was approved and uploaded, here is the link @ www.remarpro.com:
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?Hi Mika,
no problem, appreciate it.Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?It is not approved yet @ www.remarpro.com, but you can to create it manually (or even directly implement the code @ theme’s functions.php if you wish). Also, you can download zip archive, if you wish to try it out (link is near the bottom of the article). It takes a little different approach from George, but does the same thing.
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?I have to apologize for the earlier post, have simply forgot that already have installed Open Sans in my OS (to speed up work), which was pulled automatically.
There is a hotlink source in the WP core scripts, but now it is not used anymore anywhere, thus the font must be loaded externally.
If the font is available in the OS, external line can be removed, but that is usually not the case for most users.
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?The fonts are probably kept for now for backward compatibility, but it may be removed in the future.
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?Yes, and don’t forget my version few posts above, which is the fastest from the code execution perspective; does not require any CSS knowledge and does not load fonts twice ??
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?I have also converted the code in a form of bare-bone plugin (avoiding theme file(s) modification requirement and messing up future theme upgrades).
body{} will make changes only on front panels, but not menus, media manager etc.
Also, admin toolbar @ front side will still use system/core fonts, additional hook must be used to cover that.
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?Here is one way to fix this problem:
https://tehnoblog.org/how-to-change-font-in-wordpress-admin-dashboard/
Note that at this stage this is (probably) still not the 100% true replacement, as there are (probably) some other sections I haven’t discovered yet that needs to be included in the custom CSS change.
This solution uses your theme’s function.php (or custom_functions.php or whatever available) to over-ride system fonts @ admin.
Forum: Fixing WordPress
In reply to: 4.6 has crashed my siteSorry for not timely replying, but glad you solved it!
For future reference, the easiest way to find occurrence(s) of something across multiple files is to use some code editor tool, or even Notepad++, then use Find > Find in files tool and enter the term you wish to search for, as well as directory location. Then, you can get the list of all files the term occurs/is used in. Of course, keep in mind that the_post_thumbnail_caption( and the_post_thumbnail_caption ( are 2 different terms, but it is the same from PHP code perspective (e.g. they are the same thing in PHP, but not in text terms due the space between name and parenthesis). So, you need to be clever and search only for the_post_thumbnail_caption because () can contain arguments, spaces etc.
Forum: Fixing WordPress
In reply to: 4.6 has crashed my siteHi, it seems that the core now has the same function named exactly the same as your theme.
PHP function:
the_post_thumbnail_caption()As I have absolutely no knowledge of that theme and as it seems to be a commercial theme, you should contact developers if they didn’t already catch the issue themselves.
Or, you can fix the problem by yourself renaming the theme’s function name to something else (for example: into thesis_the_post_thumbnail_caption()) and all instances that use/call it.
Alternatively, you can compare both functions and see if they match in code. If they are 100% the same, you can safely delete the function from your theme’s custom_functions.php file.
Forum: Fixing WordPress
In reply to: WordPress 4.6 admin font change looking odd! Any solution?There is definitely a change in the Font CSS, no, we aren’t imagining it ??
Take a look at the screenshots below and notice the CSS line change fr font-family. Instead of default Open Sans it now uses Roboto (or similar font from the list).