ttiefenbach
Forum Replies Created
-
Forum: Plugins
In reply to: [Survey Maker] Unsecure Site for Pro”unsecure” as in the SSL certificate for the domain was’t correct so Chrome blocks it. It’s working now and I can see the information I needed. Thanks for the quick reply!
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Validate Image Height and WidthIt seems like you could just use a “getimagesize” to check the image size before it send the email from the form and reject/approve the form based on the upload. Like Contact Form does for the file size limits.
I just don’t want to meddle with the code and then lose it in an update later on so I was hoping it could be incorporated in a separate plugin, or built into Contact Form.
??
Forum: Plugins
In reply to: [Contact Form 7] RED – "Failed to send your message."I looked at all the FAQ pages and installed the “WP-Mail-SMTP” plug-in, to no help, although it sends the test messages perfectly. Does anyone have any other fixes?
I was asking about displaying the data on a page, like smallwebsolutions suggests. I would LOVE this as a feature!
Forum: Plugins
In reply to: [TTF Titles] [Plugin: TTF Titles] Using in Pages and PostsOK, I thought my shortcode would work, but it’s not 100% accurate. ?? Can we add this functionality to the plug-in?
Forum: Plugins
In reply to: [TTF Titles] [Plugin: TTF Titles] Using in Pages and PostsHere’s what I did, hope this helps someone:
Added the following code to the ttftitles.php file:
function the_ttftext_shortcode( $atts ) { extract( shortcode_atts( array( 'text' => '', 'echo' => true, 'style' => '', 'overrides' => '', ), $atts ) ); the_ttftext (esc_attr($text), esc_attr($echo), esc_attr($style), esc_attr($overrides)); }
Then added the following code to my Theme Functions file:
add_shortcode('ttf_text', 'the_ttftext_shortcode');
In my pages and posts I can use the function like this:
[ttf_text text=”Hello World!” echo=”true” style=”basic” overrides=””]Of course you don’t have to use all the options, I usually only need to use the “text” parameter.
I hope this becomes part of the next version, it’s SUPER useful!!!
RESOLVED:
The error was related to the form names:
https://www.cabeeb.com/2009/09/posting-a-form-to-a-wordpress-page/comment-page-1/#comment-34261Forum: Plugins
In reply to: file_gallery_shortcode helpnever mind on my last post. I changed the “link” parameter… duh!
Forum: Plugins
In reply to: file_gallery_shortcode helpHow do I make the link be the file location, not the https://www.domain.com/?attachment_id=399
Thanks.
Forum: Plugins
In reply to: file_gallery_shortcode helpThanks for your help. OK, so I tested the version I originally wrote:
echo file_gallery_shortcode(array(‘id’ => 398));
versus the code you wrote:
echo file_gallery_shortcode(array("id" => 398));
The only difference is the single vs. double quotes. The double quote worked perfectly, like you said it would. I copied the single quote, though, from the help file. If the double quote is the only way it works, I guess the help needs to be updated???
Sorry to drap this post out, but, I’d like to get a description and different options available for each variable, i.e.: “size” => “full”, “thumbnail”, “medium”, etc. I don’t know what is available to me to use.
Thanks again for your help. I’m super excited to start utilizing your gallery on my new site. I’ll have to make sure I donate something for the cause!!
Forum: Plugins
In reply to: file_gallery_shortcode helpIs it possible to get the first image of the gallery using tags? I’m looking for instructions on the meaning of the different shorthand variables too. thanks
Forum: Plugins
In reply to: file_gallery_shortcode helpI think I’m missing something with the correct usage of this shortcode. I’m using this PHP to get the first image:
<?php echo file_gallery_shortcode( array(‘id’ => $post->ID, ‘size’ => ‘full’, ‘attachment_ids’ => 1, ‘output_type’ => ‘object’) ); ?>
It really doesn’t matter what I put in the array, it always displays the defaults. So if I specified: ‘id’ => 398, and no other options, it still displays the current post.
I hope that clarifies a little.