mac2net
Forum Replies Created
-
Forum: Plugins
In reply to: [Crayon Syntax Highlighter] Want to include base64 media dataI got this working but then I got very sick the next day, so I apologise for the delay.
I added some modified code from EP Image Base64 Encode to code I wrote to create a Crayon outside the look in functions.phpForum: Plugins
In reply to: [EP Image Base64 Encode] Encoding images in a variableOK, I succeeded.
Now I need help getting it to display in a Crayon Syntax Highlighter.. Base64 encoded content seems to kill it. I posted a topic in the plugin’s support forum.
FWIW, to get the plugin to work with a variable, I pulled away the class and modified the parse function as follows:
$my_content = preg_replace_callback( '|<img(.*)src=["\'](.*?)["\'](.*)/>|i', create_function( '$matches', 'return "<img$matches[1]src=\'".(my_fetchurl($matches[2]))."\'$matches[3]/>";' ), $my_content );Thanks
MikeForum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Cannot create jobI am also having the same problem in a new multisite installation.
On old multi sites (same server, wp 3.8, different domain, I can still create new jobs.—–
Note: I downgraded to v3.0.13 and everything works fine.Forum: Plugins
In reply to: [WP-Font-Resizer] Badly behaved JavascriptCheers.
Sorry I didn’t remember.Forum: Plugins
In reply to: [WP-Font-Resizer] Badly behaved JavascriptSorry, I can’t remember.
Forum: Plugins
In reply to: [Search box on Navigation Menu] Search box for specific Navigation MenuHere is what I scraped together which works:
`
add_filter(‘wp_nav_menu_items’,’add_search_box’, 10, 2);
function add_search_box($items, $args) {
if( $args->theme_location == ‘primary’ )
{
ob_start();
get_search_form();
$searchform = ob_get_contents();
ob_end_clean();
$items .= $searchform ;
return $items;
}
else
{
return $items;
}
}Forum: Plugins
In reply to: [Search box on Navigation Menu] Search box for specific Navigation Menubass03 you have 2 mistakes:
- Menu-name should be menu location
- You need an “else { return $items;}” to return other menus without search.
Forum: Plugins
In reply to: [JC Submenu] Confusing Installation InstructionsOK thanks. The plugin is working great on the menu.
Perhaps you should contact the developer of Multisite Toolbar. It seems he is very keen to work with any and all. And making your plugin work with it will surely increase the demand for yours.
CheersForum: Plugins
In reply to: [JC Submenu] Confusing Installation InstructionsHi
Thanks for getting back to me.
Yes I got it working.It doesn’t work if a menu is assigned as the Multisite Toolbar Additions Nav Menu which is a shame as everything works with that!
Thanks
LOL, what’s the point of the extra code requiring the visual editor for the content?
BTW while you have the option for data in the excerpt, the excerpt is not activated for the ec-template cpt.Great plugin BTW. Just a couple of glitches.
Forum: Plugins
In reply to: [Meta Box] BUG: 4.3.2 can't save taxonomyHow did I miss it?
Forum: Plugins
In reply to: [Meta Box] BUG: 4.3.2 can't save taxonomyACF is GUI-based, has a huge code base and also has bugs.
Meta-box is great. This is just a simple bug that came up because the developer refactored a component.Forum: Plugins
In reply to: [Meta Box] BUG: 4.3.2 can't save taxonomyYes, I can confirm this too.
But previously some of the “types” didn’t work either.Forum: Plugins
In reply to: [Front-end Editor] Two issuesSorry, I had done a switch to blog without a restore blog before the footer.
Forum: Plugins
In reply to: [Custom Upload Folders] Work in multisiteCheers