MC
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: password protect photosTry researching some of the popular ecommerce plugins, you may find what your looking for… some of them are more geared around protecting uploaded files.
I found a promising plugin here:
https://www.ads-software.com/extend/plugins/scissors-watermark/
* ran into 2 issues while testing ( posted on the plugin page if you want to see them ).Forum: Plugins
In reply to: [Scissors and Watermark] Remove old watermarkI just ran into this. I have 2 images being applied as watermarks right now. Must be cached somewhere, I am going to look around on the server.
Forum: Plugins
In reply to: [Scissors and Watermark] Fatal error @ "Watermark"-functionI ran into the same issue as I started to use the plugin more.
I uploaded 4 files, 3 were in the 300k range and it worked fine. The one that was closer to the upload limit, 1.9 mb threw a similar memory limit error. Resize your images before upload to 1200 px or so and maybe it will work as is while a solution is worked out.
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17152 bytes) in /wp-content/plugins/scissors-watermark/scissors-and-watermark.php on line 113
Forum: Plugins
In reply to: [Scissors and Watermark] Fatal error @ "Watermark"-functionI just tested this plugin and it watermarked the images without any problem.
So its most likely a hosting issue. Does setting the WP_MEMORY_LIMIT in the wp-config file get over-ridden at the host level? Might want to check in more detail there. Maybe you can modify the php.ini file, I have had to make changes there on some hosts I have encountered over the years. You may have to email the host about this as well.
Forum: Fixing WordPress
In reply to: How to allow javascript in posts?I am really excited about what I learned! today is off to a great start. thank you very much!
Forum: Fixing WordPress
In reply to: How to allow javascript in posts?I followed up on your suggestion and it works! I ended up putting the html code and snippet in the shortcode (may try and put it in a widget instead of in a post at some point). That was fun, it was the first time I worked with anything custom in the plugins folder!
For future reference, if a reader wants to implement a similar solution here is a summary of how to go about this:
Save the code snippet in a file ( I called this file tripadvisor-icon.php ) in the root of your plugins folder.
Enable the plugin (it should show up in the list of installed)
Insert shortcode in your post : )
Forum: Fixing WordPress
In reply to: How to allow javascript in posts?Very cool trick. I was thinking of putting it in a conditional tag in the header of the theme but is a more portable solution.
Ideally it would be nice just to tell the parser not to strip the script tag out of the editor area. I saw this suggestion on another site, saying to put this in the functions.php but I tried it in my twentytwelve child theme and it didn’t appear to have any effect on the situation:
global $allowedposttags; $allowedposttags['script'] = array( 'type' => array(), 'src' => array() );
from https://stackoverflow.com/questions/3024545/wordpress-extended-valid-elements-for-script-tag
Forum: Everything else WordPress
In reply to: Adding a GeoTrust Malware seal to a WordPress websiteThanks for explaining this workaround, I think I can make use of this as well.
Forum: Plugins
In reply to: [Lightbox Plus Colorbox] Add A Watermarkhttps://www.ads-software.com/extend/plugins/watermark-reloaded/
This was a plugin I tried but ran into some issues around a year ago. I think I saw it was updated at some point but I havent tested it.
If not I am interested to find a watermarking solution so I will keep an eye on this thread.
Forum: Themes and Templates
In reply to: Preventing header resizing in twenty-eleven themeI figured it out so I wanted to contribute the solution in case anyone is looking for the answer here.
I put these lines in the child themes functions and modded the sizes
// override header image resizing function in theme define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyeleven_header_image_width', 1000 ) ); define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyeleven_header_image_height', 500 ) );
Hope this helps ??
Forum: Themes and Templates
In reply to: Preventing header resizing in twenty-eleven themeFor now I am going to hard code it into the header.php in my child theme in order to sidestep this using conditional tags, but I would really like to figure out how to do this in the child theme. The code I posted was referencing the 2010 theme. I am using 2011, but its a development site so I guess its a good place to test it out and see what happens ??
Forum: Plugins
In reply to: [Meteor Slides] Meteor Slides Settings – Slideshow QuantityCool, thanks for clearing that up!
Maybe this could be mentioned on that admin page where its set.It seems to be that this setting could be depreciated. The number of slides each slideshow has is shown on the Slides > Slideshows page already in the admin, so there is already logic in the plugin that is ready to calculate that. I figure it could sense how many slides there are in there pretty easily, so I am not fully sure what role that variable has in the overall function of things.
Forum: Plugins
In reply to: [Meteor Slides] [Plugin: Meteor Slides] Slide disappears on rolloverI was having the same issue working from a child theme of 2011. This css along with this helped me a lot. Thanks for posting!
#meteor-slideshow {
clear:both;
}
.meteor-slides ul.meteor-nav {
display:inline !important;
}Thank you for pointing me in the right direction. I see this is a much better solution. I would have been reordering some wp basic functions into different files and I wasn’t sure if that was the best idea. Maybe you should mention this on the docs. Thanks again for the help!
I am approaching the same thing here. That code you refer to should go in the theme files, such as header.php
However if you replace that in the header.php file, where it would generally add the featured header image ( if defined ), it would add the slideshow to every page on the site.
I think that I am going to move the header logic into the page.php file, then overriding it for the home page using a custom page template. The plugin developer has a nice post on the subject here:
https://www.jleuze.com/creating-your-own-page-templates/I am using a child theme of 2011 but the approach should be similar. I will let you know once I have it worked out. As well, I think this will allow me to drop slideshows in the header image on any page I need, unless I am going to use a basic header image instead.
The plugin is well documented but this aspect of deployment is the only thing I didn’t see covered on the site, so I am filling in the gaps with what I have learned so far about theming, so I may or may not be on the right track ??