Josh
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trying to show an image by usning shortcodeIt’s this line:
$result .= "<img src='anna.jpg' alt='Bild på Anna Persson' />";You can’t just link to an image using a relative path like that. You never know where the shortcode might be used… so you need an absolute path to the image.
This should work:
$result .= "<img src='".plugin_dir_url(__FILE__).'anna.jpg'."' alt='Bild på Anna Persson' />";Take a look at plugin_dir_url().
Forum: Fixing WordPress
In reply to: Installing plug in it asks me for FTP hostSounds like a wp-config issue.
Please check your
wp-config.phpfile to ensure you have set the correct database credentials.If you are unable to create directories.. then you may not have proper permission to the server. HostGator should be able to help you with this issue.
Forum: Reviews
In reply to: [WP Edit] מאוד נוח ועושה את החיים קליםתודה רבה.
Forum: Plugins
In reply to: [WP Edit] Pop Up windows don't closeOkay… it looks like you have something which is using an outdated tinymce api call.
That warning message is added by WordPress… to let you know a plugin or theme is using an outdated function call.
Does this still happen if you deactivate all plugins and switch to the default 2015 theme?
If not, then you need to track down which plugin/theme option is throwing this error. You can enable a few plugins at a time; going back to see if the error is thrown again. Eventually, you’ll narrow it down to a particular plugin that is causing the warning.
Forum: Plugins
In reply to: [WP Edit] Table properties not workingYou’re very welcome.
Please let me know if they decide to keep the site “restrained” on a previous version; and I’ll do what I can to make it work for you.
Otherwise; please let me know if you get updated and everything works okay.
Thanks.
Forum: Plugins
In reply to: [WP Edit] Define custom padding in tablesHello,
Tables are tricky with html coding. This is because:
1) WP themes almost ALWAYS add css for tables.
2) The tinymce editor also adds css for tables.
3) When modifying the table attributes; additional css is added inline.So, when the final table is output… all three of these css rules are evaluated and applied.
Most likely, the styling is coming from your theme. You can look at how your theme styles tables to get a better idea.
Do you mind sharing a link to a test table you’ve created, that illustrates the issue?
Forum: Plugins
In reply to: [WP Edit] Contact Form 7Lol… fair enough 🙂
Please let me know if I may be of any further assistance.
Forum: Fixing WordPress
In reply to: "Written by admin" date, catagory and outline removed.You bet 🙂
Forum: Fixing WordPress
In reply to: "Written by admin" date, catagory and outline removed.You will need to use some custom css; use either a plugin, a child theme, or (if available) your theme options.
To remove date, author, etc.:
.postmeta_box { display: none; }To remove the border/outline:
#page-inner #content { border: none; box-shadow: none; }Forum: Plugins
In reply to: [WP Edit] Contact Form 7Well, it would have had to been coded by the author of CF7. When they add the textbox for the “Form” area… they have two options:
1) A typical textarea.
2) A WP content editor.This is more a request to the author of CF7. But, I might be able to use some jQuery to add it from my plugin.
Forum: Fixing WordPress
In reply to: Issues with Text EditorMake sure you are aware of the “toolbar toggle” button:
http://learn.wpeditpro.com/wordpress-tinymce-editor/#ipt_kb_toc_73_6Forum: Fixing WordPress
In reply to: Quicktags external functions fileWould have to see your code.
You can use pastebin.How are you including the other functions.php file?
Sure. I’m not saying it’s illegal 🙂 But somewhere along the way; those developers are going to encounter users with specific use-case scenarios; and will have to update their code.
From the plugin you mentioned above (probably related):
https://wordpress.org/support/topic/usage-of-iwp-client-under-serure-conditions-sftp-and-others?replies=1Perhaps not so much a big deal for a single user managing their own website. But for developers of themes/plugins… it’s just not a good idea.
Thank you for your openness 🙂
Forum: Fixing WordPress
In reply to: Tiff links not visibleShouldn’t your image file extensions end with
.tiffinstead of.tif?[Hi Yogi :)]
Hi @a2ztechnologies,
Actually, using any of the WordPress defined constants is never a good idea.
1) WP_PLUGIN_URL does not take into account SSL.
2) If the default plugins directory location is altered (for whatever reason); this will fail.It’s much better to use This Method.
From the Constants Codex:
These should not be used directly by plugins or themes, but are listed here for completeness.