techteenager
Forum Replies Created
-
Forum: Plugins
In reply to: [(MB) YouTube Widget] Won't work anymoreI’ve completed the plugin however I don’t have access to my ‘mechabyte’ account on www.remarpro.com at the moment. I’ve contacted support so that they can help me sort it out. Update should drop within a couple of days once I can log back in.
Forum: Plugins
In reply to: [(MB) YouTube Widget] Won't work anymoreI already added in all of the v3 changes the day I made the post. One hurdle that Google created in this new version is that you need to have an API access key to query all of the data. Due to some organizational changes you also need to make several requests to grab all of the video data that you could handle in a single request beforehand (so uncached requests will take longer). Everything is almost ready for deployment. I am finishing up a webapp for a client today and should hopefully be able to whip up an options page for users to authenticate through Google so that everything works nicely.
Best,
Matt
Forum: Plugins
In reply to: [(MB) YouTube Widget] Won't work anymoreHello everyone,
I haven’t been receiving notifications from www.remarpro.com about support topics. One user contacted me through Github asking for an update because the old codebase no longer works.
Google updated their YouTube API so that all users who want to access video information (you guys) need to have a developer key to do so. I’ve started work on updating this plugin today and hopefully will be finished by this afternoon.
I apologize that you guys have reached out and I wasn’t aware.
Matt
Forum: Plugins
In reply to: Quick Question about Menus (Please Help)Here’s a link to the same text on Pastebin:
https://pastebin.com/UTni1gnbForum: Fixing WordPress
In reply to: Help with shortcodes functionsIf there’s any way I can repay you for helping me so far, just tell me. I don’t have any money (I’m only 17) but if you need a site advertised or you want Twitter followers, just let me know and I can help out.
Forum: Fixing WordPress
In reply to: Help with shortcodes functionsSorry, I have no idea where to put that, haha. Here’s what I’ve got in the video container: https://pastebin.com/NgGgdeDa
Forum: Fixing WordPress
In reply to: Help with shortcodes functionsSoo close, haha. I tried your code and it calls it and everything, but for some reason it gives me an image. Would it help if I clarify that the $checkvid function is only there to make sure there is a videourl field? (so there isn’t any broken code). What I’m trying to call is the custom field ‘videourl’ inside the shortcode.
Thanks for your help!! I really appreciate it!
MattForum: Fixing WordPress
In reply to: Help with shortcodes functionsYeah, I have users fill out a form, where the video URL is entered as the custom field ‘videourl,’ on the article page, the video url is called with the function
<?php $checkvid = get_post_meta($post->ID, videourl, true); if($checkvid){ ?><?php echo get_post_meta($post->ID, vidauthor, true); ?> <?php }else{ ?> Hmm, we couldn't find the video. <?php } ?>
This calls the URL out above the post to be displayed. When I first tried this, it worked and everything, but I wanted to get the video to auto-embed & autoplay with Viper’s Video Quicktags. So, around that function to call the URL I wanted to find some way to use [youtube] above function [/youtube] so that it would work.
So:
[youtube] <?php $checkvid function.... [/youtube] <?php the_content(''); ?> \\ The description of the video would be in the post content, along with a link to the submitter's YouTube channel, etc.
So I’m now aware that the [youtube] would need a do_shortcode function, but I’m completely clueless as to how I can do this
Do you guys have any ideas?
Thank you guys for being so helpful thus far,
MattForum: Fixing WordPress
In reply to: Help with shortcodes functionsvtxzzy, thanks for your response! I actually figured out an easier fix with a CSS workaround, but since you know what you’re doing I want to ask you another question:
Right now, I’m trying to be able to have a user submit a form with a YouTube URL that makes a draft post w/ the URL entered as a custom field. I can call the custom field in a special part of the theme, but I’m trying to then convert into an autoplaying video with Viper’s Video Quicktags.
TL;DR: Do you know a way to call a custom field within a shortcode? (This is outside of the loop in a place above the post in the theme)
-Matt
@marynixie,
I understand how to change the background colors, default and on mouseover, but I’m wondering if there is a way to change the font color on mouseover.
MattForum: Themes and Templates
In reply to: Help With 'Read More' line breakingAlso one more thing, I’d like to make the social images (Digg, Twitter, etc) float to the right, which I think I accomplished correctly by just setting the margin high on the code that you gave me. Behind both the ‘Read More’ and the social images, I’d like to have a repeating background (https://bit.ly/fjjDr2) so that you can still see the ‘Read More’ and images but behind them (like Photoshop layers) is the background.
I tried simply making this class in the css, along with a <span> tags around the ‘more’ part of the index, but it didn’t work. Any ideas?
.social_share{ background: url(https://www.techteenager.net/wp-content/themes/TTN%20Advanced/images/more_repeat.png) repeat-x; height:20px; width:100%; overflow:hidden; }
Forum: Themes and Templates
In reply to: Help With 'Read More' line breakingYeah I know about the arrow haha, I changed it from the regular ‘Read More’ text. Thank you for your help on switching the position of the images! It worked like magic!
Matt
Forum: Themes and Templates
In reply to: Help With 'Read More' line breakingHere’s the code for the post part of index.php,
https://snipplr.com/view/50169/index-preview/I’m also running a premium theme, Bold News (WooThemes), my website is https://www.techteenager.net
Thanks for your quick reply!
Matt@winger15mk @digitalnature
Excuse me winger15mk or digitalnature, I am brand new to wordpress, and I know this might sound VERY noobish, but how do you even create a subpage in the menu? I was looking around within settings and can’t figure out how to do so.
Thanks in advance!
Matt