Forum Replies Created

Viewing 15 replies - 1 through 15 (of 44 total)
  • Which plugin/theme are you talking about.

    There are a lot of good jQuery and JavaScript tutorials and free downloads for this very thing. Google works wonders ??

    You could also just use a wrapper around the whole content area of the posts/sidebar.

    Something like this..

    <div id="wrapper">
    <div id="content">
    
    </div>
    <div id="sidebar">
    
    </div>
    </div>

    The wrapper class would contain the background with a repeat-y.

    Kind of a cheesy way of going about it, but a lot of people do it, and it works ??

    Yes, when your under the GPL-License then you are free to edit/modify/delete/transition/ect from whatever source you are using. You are just not allowed to sell it or use it commercially without consent of it’s origin.

    Even if you ‘buy’ a template, you are allowed to modify it and use it to the full extent. You cannot just reproduce, resell, giveaway, or modify it in a malicious way without the consent of it’s origin.

    Thus said, get to coding ??

    Works for me! ?? Did you get it fixed, or still having problems on your side?

    While it seems to be ‘yanked’ as you stated above, you can still use the direct embed via the HTML tab right?

    <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="480" height="360" codebase="https://www.microsoft.com/Windows/MediaPlayer/">
    <param name="Filename" value="https://walkernewsdownload.googlepages.com/HP-iPaq-614.wmv">
    <param name="AutoStart" value="true">
    <param name="ShowControls" value="true">
    <param name="BufferingTime" value="2">
    <param name="ShowStatusBar" value="true">
    <param name="AutoSize" value="true">
    <param name="InvokeURLs" value="false">
    <embed src="https://walkernewsdownload.googlepages.com/HP-iPaq-614.wmv" type="application/x-mplayer2" autostart="1" enabled="1" showstatusbar="1" showdisplay="1" showcontrols="1" pluginspage="https://www.microsoft.com/Windows/MediaPlayer/" CODEBASE="https://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="480" height="360"></embed>
    </object>

    Well heck, I didn’t even know you could do that with wordpress. I learned something new today, thanks adkbasecamp

    No problem, if you have any questions or comments, please reply.

    You could check against the age of the post, and if the age of the post is older, don’t display the post.

    I’ll write up something small for you.

    [mod: please remember to use the pastebin for codes longer than 10 lines]

    <?
    
    /* Credited to KreativJustin */
    
    	$post_date = the_date('Ymd','','',FALSE);
    	// We gathered original date from the post, let's strip it down so we can use it
    
    	$post_year = substr($post_date,0,4); // Years stripped. 0 from left, 4 chars max
    	$post_month = substr($post_date,4,2); // Months stripped. 5 from left, 2 chars max
    	$post_day = substr($post_date,6,2); // Months stripped. 7 from left, 2 chars max
    
    	// Now we need to gather info for the current date.
    	$current_date = date('Ymd');
    	// Great, let's strip down the current date. We can just copy, paste, modify the top one!
    
    	$current_year = substr($current_date,0,4); // Years stripped. 0 from left, 4 chars max
    	$current_month = substr($current_date,4,2); // Months stripped. 5 from left, 2 chars max
    	$current_day = substr($current_date,6,2); // Months stripped. 7 from left, 2 chars max
    
    	// Let's turn them into usable strings
    	$post_usage = $post_year . $post_month . $post_day;
    	$current_usage = $current_year. $current_month . $current_day;
    
    	$difference = $current_usage-$post_usage;
    
    	if($difference > "3") { // Days
    		// Too old, do nothing
    	} else {
    		// Perfect age, display post here.
    	}
    
    ?>

    This does work when inserted into a loop. I have used this code for other reasons within a post. Good luck!

    or you can do it in your header.php if it’s at the top of your template.

    You can create specific categories like you would a post. Then on the post just add the image for each image, and post it as a post.

    or you can create a new post and add all of the photos that you want inside that ‘category’ and name the post as the category name.

    The easiest way to do this would be to download a nice photo gallery plugin ??

    Forum: Fixing WordPress
    In reply to: Category Search

    Yeah, let me see if I can code you one up real quick, then I will post my results.

    —edit/add—

    Here we go, I coded this for you, I believe this is what you are wanting. It is very raw and could use some improvement, but this will get you started.

    <?
    $categories = get_categories();
    foreach ($categories as $cat) {  /* Calls up each category */
    	echo '<h2> ' . $cat->cat_name . '</h2>'; /* Displays category name /*
    	$newquery = new WP_Query(); /* New Query to call up posts */
        $newquery->query('category_name=' . $cat->cat_name . '&showposts=20');
    	while ( $newquery->have_posts() ) : $newquery->the_post(); /* Posts exist, so let's display them. */
    		echo '<div>' . the_title() . '</div>';
    	endwhile;
    }
    
    ?>

    Use the link I posted in the above posts to learn how to use page parts, or you can use this as a function.

    You have to use the code button when posting before, then when the code is over, hit the code button again.

    Or just shoot us a link to the .txt files ??

    Yep, esmi is right. Themes will not use widgets unless the theme is ‘widgetized’.

    https://codex.www.ads-software.com/Widgetizing_Themes

    Go there and follow the steps, if you still need help we are here.

    Your going to have to post some code snippets of the header your using and the corresponding css.

    We cannot help you until you do this. I can only tell you what code your going to use to display the form, but I’m guessing you already know that code. So the next step is displaying it in the right spot.

    Forum: Fixing WordPress
    In reply to: Location of posts

    They are stored in your MySQL database.

Viewing 15 replies - 1 through 15 (of 44 total)