originweb
Forum Replies Created
-
Forum: Plugins
In reply to: [Youtube Channel Gallery] Daily limit exceeded??Just an FYI if you are still having errors once you obtain and publish your API key.
I made the mistake of doing copy/paste into the WordPress “Visual” window. When I looked at the Text/Source view, there was a <span> tag added.
So make sure and paste your shortcode in Text mode.
Forum: Plugins
In reply to: [Youtube Channel Gallery] plugin doesn't recognice my playlist idThe author of the plugin has updated it so an update should be available to download now.
Forum: Plugins
In reply to: [Youtube Channel Gallery] plugin doesn't recognice my playlist idIf you are using a PLAYLIST with your gallery plugin, here is a copy/paste for the plugin to get it working.
This was started by techwiz.com.au and I made a couple of changes to get the PLAYLIST part working.
I’m sure there will be an update soon from the author, but I’ve managed to get the video galleries for my clients back online.
Forum: Plugins
In reply to: [Youtube Channel Gallery] Message from server: Not Found.Techwiz … I updated your file with my changes.
This works if you are using a PLAYLIST for your videos.
Working example here:
http://mattjorgensen.com/videos/Forum: Plugins
In reply to: [Youtube Channel Gallery] Message from server: Not Found.techwiz.com.au … great work.
For the playlist, I’ve gotten it to work with some tweaking.
On your GitHub file, change lines 556-559 from:
if ( $ytchag_feed == ‘playlist’ ) {
$ytchag_rss_url = $youtube_feed_url . ‘/playlist_id=’ . $ytchag_user . ‘&max-results=’. $ytchag_maxitems;
$ytchag_link_url = $youtube_url . ‘/playlist?list=’ . $ytchag_user;
}to this (removing the “/” before “playlist…”:
if ( $ytchag_feed == ‘playlist’ ) {
$ytchag_rss_url = $youtube_feed_url . ‘playlist_id=’ . $ytchag_user . ‘&max-results=’. $ytchag_maxitems;
$ytchag_link_url = $youtube_url . ‘playlist?list=’ . $ytchag_user;
}This allowed me to get my Playlist gallery to show up. But the videos wouldn’t load because it wasn’t getting the Video ID.
I looked at the raw XML playlist from YouTube for one of my playlists … and matched up the XML to
<entry>
<id>yt:video:0ab6BalypQM</id>
<yt:videoId>0ab6BalypQM</yt:videoId>On line 648 (of your GitHub file) you have:
$youtubeid = $yt->videoid;I changed it to this (probably a better way … but it is late and this worked):
$youtubeid = $entry->id;
$youtubeid = str_replace(‘yt:video:’, ”, $youtubeid);Hi all … just wanted to add something. I was having an issue with the player now showing up … didn’t see anything on the page where the player should be.
Turns out it was because I had a quote in my Display Settings -> Description.
I had:
Listen to Dan’s tracks …The ‘s caused the player not to load.
I took it out the ‘s then it worked.
Forum: Themes and Templates
In reply to: Posts with a custom page templateI only see one blog post up there, is that correct? Or do you have more and they just aren’t showing?
Can you paste in the snippet of code you have for your loop (The code where is displays the post title, post content, etc)?
Forum: Themes and Templates
In reply to: Posts with a custom page templateCan you show the URL of the site?
And how are you displaying your custom home page? Are you setting a page to display in the Settings? Are you using a custom template page like home.php or front-page.php?
http://codex.ww.wp.xz.cn/Template_Hierarchy#Home_Page_display
Forum: Themes and Templates
In reply to: Creating a "blank page" template for Twentyeleven themeI usually do this a couple of different ways.
One way is to create copies of your header.php and footer.php pages … something like header-blank.php or footer-blank.php. In these files strip out the top and bottom navigation as well as the sidebar.
Then on your template page (which I’ll call blank.php) instead of the
get_header();I use:
$root=$_SERVER['DOCUMENT_ROOT']; include $root . '/wp-content/themes/your-theme/header-blank.php';Not sure if this is the best way … but I like doing it this way because if I screw something up in the header it only effects the Blank Template pages.
Or, you could do it this way in the actual header.php and footer.php file:
if ( is_page_template('blank.php') ) { // what to show on the Blank Template pages } else { // what to show on all other pages }