phpadam
Forum Replies Created
-
It also seems that the control over adding and removing tags using the check boxes in the admin section is broken now. I can’t seem to uncheck br and/or p without removing any of the tags I’ve added using the more tags dropdown. Changes are not being saved consistently and added tags are vanishing. Very odd.
Cool. No reason to reinvent the wheel. I’ll look into Jetpack. Thanks Otto…
Forum: Plugins
In reply to: add custom javascript into head of only one page with plugin or custom fieldYou could add this into the header.php file. The example uses the home page. Just replace ‘home’ with whatever page you want to add the code to.
<?php if (is_page('home') ) { ?> <!--home page custom JS--> <script type='text/javascript' src="<?php bloginfo('template_directory'); ?>/Scripts/customJS.js"></script> <?php } ?>
Forum: Plugins
In reply to: [Haiku minimalist audio player] [Plugin: Haiku minimalist audio player] ErrorI get the same error.
Ever get a resolution?
wordpress-beginner,
What was the upload-plugin he suggested?
Never heard a thing. But I got nervous about using this plugin because of the security issues. I’m not a beginner, but I don’t know enough to keep me out of trouble.
I found that there are some concerns with uploadify (and allowing uploads in general). Like this from the uploadify site: https://www.uploadify.com/news/security-warning/
“When setting up your instance of Uploadify, it is highly recommended that you use server-side code to validate the upload folder and file types.”
I am not advanced enough to use server-side code to validate upload types, so I gave up.
Since I am building a solution for image uploads to a gallery, I am currently using (Netgen public uploader )
It works really well for my needs, but I’m not sure if the security issues are the same. Still sorting it all out…
If you resolve any of these issues, or learn anything, it would be great to post again here with that info. So many threads in these forums remain unresolved.
Best of luck
I fixed this by assigning the value of
$return_data['status']
to a variable and then runninghtmlspecialchars_decode
The full code as displayed in my template file is something like this:
$return_data = simple_twitter_data('user=mytwittername&data=name,status,image,relative'); $thenewtweet = $return_data['status']; $thenewtweet = htmlspecialchars_decode($thenewtweet); echo '<p class="fptweeter"><b><a href="https://twitter.com/#!/mytwittername" target=_blank>MyTwitterName</a></b> Latest Tweet [' . $return_data['relative'] . '] </p><p class="fptweet"> ' . $thenewtweet . '</p.>'
It seems to work
Forum: Themes and Templates
In reply to: custom Post Type DropdownI would like to do the same thing. I’m trying to create a dropdown list of ALL the custom posts of a single custom post type. This list will appear in the side bar on ONLY posts of that custom post type. I can’t seem to locate any help with this.
Anyone find something or build something?
Thanks Shane,
I will anxiously await 2.01 and deal with it until then.
Much obliged.