ianbee
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Grid View Gallery] Image Quality Adjustment Doesn't Work With 2.3Awesome, please let me know the results / solution. ??
Forum: Plugins
In reply to: [Category Grid View Gallery] Thumbnails STILL wont show! :(Resolved! ??
Forum: Plugins
In reply to: [Category Grid View Gallery] Thumbnails STILL wont show! :(Hey Anshul! Thanks for the reply. Like I said in the 3rd post I didn’t set it to grab the featured image so it wasn’t displaying a thumbnail. But yeah it works fine now. Thanks for the help and sorry for wasting your time lol.
Forum: Plugins
In reply to: [Category Grid View Gallery] Thumbnails STILL wont show! :(Update: I didn’t realize I had the feature set to grab the first image from the post and not the featured image, wow!!!!! LOL.
Forum: Plugins
In reply to: [Category Grid View Gallery] Thumbnails STILL wont show! :(Update: I installed an earlier version of CGVG on a new blog I made and the same error still remains… no image available. This puzzles me even more because it suggests that it may not even have to do with the newer version of this plugin. Nonetheless, the plugin still wont work and my website truely depends on it. If the author of this plugin (or anyone else who may have an idea to what is wrong) could help me out pleaaaaaaasee help me here! ??
Forum: Plugins
In reply to: Thumbnails STILL will not show! :(ment to post this in the proper forum, sorry.
Forum: Fixing WordPress
In reply to: Custom Fields That Add Text After Post UrlUpdate: I tried changing the code so I add a key to display the custom field text after the url.. here is what I did:
$news = get_post_meta($post->ID, $key, TRUE); $key = 'testme'; $cgfontsize=$this->cg_get_font_size(); $excerpt = apply_filters('get_the_excerpt', $single->post_excerpt); $post = get_post($single->ID); // unless $single is already a complete object $cgtitle='<div class="cgback cgnojs '.$this->params['showtitle'].'"></div> <div class="cgtitle cgnojs '.$this->params['showtitle'].'"> <p style="font-size:'.$cgfontsize.'px;line-height:'.(1.2*$cgfontsize).'px;"> <a href="'.$returnlink.''.$news.'">'.$title.'</a></p> <div id="lol">'.$excerpt.' </div></div>';
So yeah, I added a $key which would be the name of my custom field. I entered the custom field on wordpress with the text field filled in as “testtest” and still, it displayed nothing at the end of the url. ??
If anyone could help me out I’d appreciate it so much! I honestly would.Forum: Fixing WordPress
In reply to: WP_Get_Referer & Divs???Thanks so much for the help man. It works pretty much. I just need to test it with a few more things / plugins. I’m kinda worried that I’ll lose contact with you. Are you sure I can’t give you my e-mail? You don’t have to post yours… If not its all good, I’ll be posting with an update tommorow. ??
Forum: Fixing WordPress
In reply to: WP_Get_Referer & Divs???@wpismypuppet Okay I tested the code and it broke all my single posts.
Here is my web page I’m testing it on:https://www.enberwebsite.com/testtest/sample-page/
There are four thumbnails at the top. Some goto external URL’s. I got this to work with a few little tricks :). Anyways, The second thumbnail goes to an actual post, along with all the other smaller thumbnails below out. But like I said the single posts are broken at the moment. Here is what I did.
1) Inserted this code into my single.php
<?php $referer = $_SERVER['HTTP_REFERER']; if ( $referer == "https://www.enberwebsite.com/testtest/sample-page/" ) { if( isset( $_GET['fromwhere'] ) { if( $_GET['fromwhere'] == 'news' ) { echo '<div id="news">news test</div>'; }else if( $_GET['fromwhere'] == 'videos' ) { echo '<div id="videos">videos test</div>'; } }else { echo '<div id="bgphotos"></div>'; } } else { echo '<div id="bgvideos"></div>'; } ?>
And I was going to put the “?fromwhere=news” code at the end of the php code that grabs the url for the thumbnails that link to posts but I didn’t bother because the single posts aren’t even working yet ??
Do you know why this is??
Forum: Fixing WordPress
In reply to: WP_Get_Referer & Divs???@wpismypuppet awesome man! thank you so much! But the main problem is that the news posts, video posts and photos posts aren’t just hyperlinks that I manually made, they are generated titles and thumbnails spit out through a plugin I’m using. But there is nothing I can do about that, I’ll just have to dig through the coding and find a way to append the query string to the hyperlinks that the plugin generates. ??
Thanks for all the help, if you don’t mind could I tell you my e-mail and I could get back to you once I test this out fully?
But again, thanks man.
Forum: Fixing WordPress
In reply to: WP_Get_Referer & Divs???@wpismypuppet Hey man, I never even thought of using JS! It sounds quite simple how you explained it, but I honestly have no idea where to start. loll. I’m kind of a noob when it comes to JS, and even PHP. But yeah, I would like to track where clicks are from in a specific div / section and not just a page, so how exactly would I do that using Java or the query string? You said I could use JS to update the URL query string on click. I don’t really know how to go about doing that. ?? So so if I had a news section with blogposts under my home page would I have to specify the Query_string for the news section and then add that into my php if/else statement? I don’t know how to do that or if that even made sense. But yeah it would be awesome if you could explain how to do it a bit more and as of right now I’m googling query strings and how they work ?? Thanks for the help and if you want I could give you my e-mail to communicate faster!
Forum: Fixing WordPress
In reply to: Single Post Under Multiple Categories?thanks @alchymyth I got it working!!! ??
Forum: Fixing WordPress
In reply to: Single Post Under Multiple Categories?My website is enberwebsite.com/testtest And I tried his code out and it did exactly what he said it does. When there is a post in both the photos and videos category, it will auto show the photos div, for both categories. If you know a solution for what I said in the 3rd post, please let me know ??
Oh yeah, the first two posts on my site are under both the videos and photos categories. The black box on the top left should appear when your on the photos category page and also on a single post in the photos category page. the white box should show when on the photos category page and also on a single post under the photos category page. Instead, the black box will show when you click on the link from either the photos category or the video category, just like alchymyth said.
Again, if you know a fix for what I said in post 3 that would be greeeeat! ??
Forum: Fixing WordPress
In reply to: Single Post Under Multiple Categories?@alchymyth Thanks for the help man. It’s a quick little fix. ?? But that’s not exactly what I’m looking for. I’m trying to do this…
Say you’re under the photo category page, you see a post that says “test post” and it is under the photos and videos categories. You click it, it shows the #bgphotos div because you were in the photos category when you clicked on it. Now say your under the videos category and you see the same post. You click it and it now shows the #bgvideos div, since you were in the videos category when you clicked on it. I hope that makes sense. ??
Is this even possible, or does it require hardcore coding?
Forum: Fixing WordPress
In reply to: Show excerpts on video category page only?@wpismypuppet WOOOOWWW thanks so much man! This is exactly, EXACTLY! What I was looking for. And it actually worked ?? Tank you tank you vewie much.