treehouse : what would you like to learn today?
Web Design Web Development iOS Development

TeMc

  • ImgBrowz0r vs. WordPress (V2)

    @tragicdog: I take it you gave up or used something else since it's been about 2 months, but I'll answer anyway: The ImgBrowz0r files should be in a certain folder. In the example code this folder is called "gallery" and is in t…
    Comment by TeMc June 2010 permalink
  • ImgBrowz0r vs. WordPress (V2)

    I don't see any obvious flaws in the code (maybe a space after the colling in Template Name:Gallery). @Denys: How are you calling gallery.php ? Have you used it as a Page Template in wp-admin, or are you going to "/home/user/public_html…
    Comment by TeMc January 2010 permalink
  • All my wordpress links have turned into external links

    @casiodan: Yup, that's how it goes. For other users whom may find this, a short tip if you want your site to work in a local network (LAN) or other situation in which the link WordPress is configured in, does not work, or only works from 1 mac…
    Comment by TeMc January 2010 permalink
  • ImgBrowz0r vs. WordPress (V2)

    @Denys: Please provide more information, such as the website this is happening on (a link to the exact page if possible, or explain how to get there), and also the source-code of gallery.php - TeMc
    Comment by TeMc January 2010 permalink
  • [Solved] WordPress - Order Posts Horizontally

    You could give the in css a fixed width and height, and float:left. Then they should go next to eachother. Depending on your theme you might need to create or change that div. It should contain all post-data ofcourse (some themes have that post-d…
    Comment by TeMc December 2009 permalink
  • trying out a new site

    Mostly I like it a lot ! , but there's a few points : [list] [*] Color, shade and layout/grid looks good ![/*:m] [*] In the portfolio the subtitle that belongs to the image is kinda swimming south towards the next portfolio item. I'd reco…
    Comment by TeMc December 2009 permalink
  • WordPress Wiki Plugin

    Please elaborate (explain more) on "not having succes". Describe what you've done, how you've done. And what/how went wrong.
    Comment by TeMc December 2009 permalink
  • What's a usefull replacement for the / character?

    There's 2 ways: * Method 1: Change the normal slashes in the "real" url: - Use parameters (http://domain.com/?foo=bar&this=that&ur ... m/&bli=bla ) - User |-char and rewrite (.htaccess) to parameters http://domain.com/b…
    Comment by TeMc December 2009 permalink
  • [Solved] Step Down Problem in IE6/7

    This is one of the typical IE-issues that is referred to as the "staircase" or "stepdown" problem. You fix it by setting the LI's to display inline: li.optionalClass { display: inline; } /* IE-FIX : Prevents \"stepdow…
    Comment by TeMc December 2009 permalink
  • My 1st website - its pretty terrible I know ...

    I have DropBox but the topicstarter either used a temporary hash link, or a link that only works while he/she's logged in. Or it's the public link, but it's only for friends. either way, put it somwhere else (Imageshack.us for exam…
    Comment by TeMc December 2009 permalink
  • Good E-Commerce CMS's ?

    Well... ... depending on what language you speak, ... depending on what country you're from, ... depending on what method(s) of paying you need, ... depending on the neccecry product options (are there different options*), ... depending on whet…
    Comment by TeMc December 2009 permalink
  • how to display HTML code in blog post?

    Basicly you wrap the code within and tags . Although that will fix most of it, what will not be fixed are the with the < and > . To fix those you gotta use a plugin or custom function to htmlentities(); all code within tags. -- TeMc
    Comment by TeMc December 2009 permalink
  • regarding clear:both;

    you could, if you have one, use the footer to clear the float. Or use the clear:after fix on the second div. (google it)
    Comment by TeMc December 2009 permalink
  • Problem with rounded corners on image

    Although I'm not sure, a way around this issue of img-corners sticking out is to wrap the IMG in a div, and apply the corners to that and then overflow:hidden; .horse-headshot { vertical-align: top; margin-right: 10px; float: l…
    Comment by TeMc November 2009 permalink
  • All my wordpress links have turned into external links

    OK. I've had this exact same problem a month ago and it's got nothing to do with those template_directory-tags ! Because you seem to be using them already, and it basicly doesn't matter in most cases. The problem, as topicstarter d…
    Comment by TeMc November 2009 permalink
  • [Solved] Regarding Rounded Corners

    Yep, correct. -moz is the proprietary css for all Mozilla-based browsers (such as Firefox, Camino, Flock etc.) -webkit is the proprietary css for all Webkit-based browsers (such as Chrome, Safari, Mobile Safari (iPhone/iPod touch), Shiira etc.) I…
    Comment by TeMc November 2009 permalink
  • Certificate Creator

    Very clever solution ! Though, in this case the teachers have been given a short explaination, if it were a public website with a generator of this kind it would be an issue that one cannot save the image (dragging the img to the desktop will resul…
    Comment by TeMc November 2009 permalink
  • Determining if a site is built on Wordpress

    If you don't have access via FTP: * Look in the source-code and see if you see one or more of the following lines (or something alike) http://yourwebsite.net/wp-includes * Anything in the source-code at all that refers to "wp-content…
    Comment by TeMc November 2009 permalink
  • [Solved] Unit PNG and Wordpress

    Your guess is most likely correct. From what I saw after looking at your site real quick is that you have the path set to "/clear.gif" (no slash means current directory* with a slash means from the root of the domain). So it's expect…
    Comment by TeMc November 2009 permalink
  • A little help needed

    Firstoff: I've never used Math before in jQuery, so you may need to adjust the code a bit. But here's what I'd try: $(function(){ var n = $('#gallery').width(); $('.gallery-item').each( function(scrol…
    Comment by TeMc November 2009 permalink
  • Display array items one at a time?

    I have very quickly read a bit through your code, but here's a short answer I think should work: * set $number = $_GET['number']; * make a default ( if (empty($number)) { $number = 0; } * * then instead of the foreach do: $image = di…
    Comment by TeMc November 2009 permalink
  • Converting font-size measurements from pt to px

    If your Photoshop-document is 72 dpi, then pt == px. So font-size: 13px; line-height 18px; would be just fine.
    Comment by TeMc November 2009 permalink
  • Convert existing site to WP

    Before I continue. WordPress does use a database actually, but that aside. As soon as you're up and running in Settings > Permalinks you can for example set the structure to: /%category%/%postname%.html becomes : /pagename.html and /news/he…
    Comment by TeMc November 2009 permalink
  • WP: how to change images in post excerpt?

    I'd put the image in the actuall post content. If you're using the_content() in your categorie-file then remember to put it after the . Then use a function on your category-template-file to extract that first image and display it in the d…
    Comment by TeMc November 2009 permalink
  • [Solved] .htaccess 'Pretty' URLs

    A good thing to do is to start relative paths with a slash. ie. in your 12345678-file where it says src="path/to/myThing.swf" src="/path/to/myThing.swf" that way it'll start "counting" from the root of your site a…
    Comment by TeMc November 2009 permalink
  • relative letter spacing?

    Not letter but word spacing may help things in the right direction: { text-align: justify; }
    Comment by TeMc November 2009 permalink
  • [Solved] WordPress - Pages/Sub Pages Menu Question

    Oh, you want the childpages to appear within the menu. In that case I'd make a php to : * first define whether we're on a parent, child or grandchild. * If on a parent or child, go depth=2. * if on a grandchild, go depth=0 or depth=3 (de…
    Comment by TeMc November 2009 permalink
  • [Solved] WordPress - Pages/Sub Pages Menu Question

    Sounds like the second code snippet under "List subpages even if on a subpage" here: http://codex.wordpress.org/Template_Tag ... _a_subpage
    Comment by TeMc November 2009 permalink
  • [Solved] Need Help with the Wordpress Tag

    Using the excerpt is one way of doing it, but may not give you the behaviour you want. Since you're not on the actuall blog-home, category, archive or search page, the_contents() doesn't know it's supposed to give you only content up…
    Comment by TeMc November 2009 permalink
  • Cross-Browser Positioning Problem

    Yup. either a link to the live-page, or pastebin the html/css in here.
    Comment by TeMc November 2009 permalink