Guest User

Untitled

a guest
Jul 12th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. Great template!
  2. A couple issues on my end.
  3.  
  4. 1:
  5. Looking to do that front page slider links to pages instead of posts way back from the beginning of these comments.
  6.  
  7. I've replaced the lines mentioned so they are now:
  8. $link = get_post_meta($post->ID, "page-link", true);
  9.  
  10. echo'<a href="'.$link.'" class="read-more">Read more</a><a href="#" class="show-next">Next ยป</a>'."\n";
  11.  
  12. echo'<a href="'.$link.'"><img src="'.$frontpage_image.'" alt="" /></a>'."\n";
  13.  
  14. I've put the full url of the image I want in the frontpage-image variable, and I've put the full url of the page in the new page variable page-link.
  15. However, the slider isn't pulling the image or link from the page.
  16.  
  17. 2:
  18. Want to get a solid background color, and overlay a gradient on it. I've greated a gradient image and coded in style.css:
  19. html{
  20. background:url(../images/gradient.gif) left bottom repeat-x;
  21. background-color:#748bad;
  22. }
  23.  
  24. Problem here is that, in firefox, the png is still attaching to the top. IE8 displays it correctly, though.
  25.  
  26.  
  27. 3:
  28. Speaking of IE8, this shows up when I load the page in IE8:
  29. Warning: Invalid argument supplied for foreach() in \wp-content\themes\twicet\index.php on line 87
  30.  
  31. This totally breaks the image slider/pointer.
  32.  
  33.  
  34. Any fixes much appreciated, thanks!
Add Comment
Please, Sign In to add comment