help me about my slide bar

As far as i understand your question is that you want to get posts from specific category. <div class=”callbacks_container”> <ul class=”rslides” id=”slider3″> <?php $the_query = new WP_Query(array(‘order’ =>’descending’,’orderby’ =>’ID’,’posts_per_page’ =>’5′, ‘category_name’ => ‘news’)); while ($the_query->have_posts()) : $the_query->the_post(); ?> <li> <?php if ( has_post_thumbnail() ) { the_post_thumbnail(‘large’); } else { echo ‘<img alt=”No Image” src=”‘ . … Read more

how to enable full width page template in woo theme memorable?

on http://www.southalgonquincottages.com/wp-content/themes/memorable/css/layout.css (line 480) change #main { width: 74%; } to #main { width: auto; } on http://www.southalgonquincottages.com/wp-content/themes/memorable/css/layout.css (line 473) #main.fullwidth, .layout-full #main, .col-full { margin: 0 auto; max-width: 1140px; <– REMOVE THIS CODE SNIPPET width: 100%; } it should be #main.fullwidth, .layout-full #main, .col-full { margin: 0 auto; width: 100%; }

How to handle parent and child pages?

Problem 2: displaying the 3 panels. Do I set these up as individual children elements? If so, how can I style each one differently as it loops through? There are only 3 items. Don’t loop through them. Use get_posts() to place them in an array and then step through each array item: $panels = get_posts( … Read more

Pass a PHP variable (loop-audio.php) to jQuery function (js/script.js)

In general, this function lets you localize your JS strings, but you can also use it to set global JS variables: function set_my_js_var() { // logic here for returning the right JS var $myVar = “Hello World”; return $myVar; } function load_fe_scripts() { wp_enqueue_script( ‘global-js-var’, get_template_directory_uri() . ‘/js/my_file.js’ ); $localize_array = array( ‘my_js_var’ => set_my_js_var() … Read more

Explode Array from Repeatable Custom Field

This is more of a PHP question than a WordPress question. Try to replace $temp = explode( “|”, $am ); with $temp = explode( “|”, $am[0] ); since $am is an array. You should also consider using isset() to check if the array items exists. Here is one idea: <?php $affman = get_post_meta( $post->ID, ‘affiliatemanager’, … Read more

WordPress Customise

The interstitial page on that website isn’t part of WordPress. It’s just an external page with some ads and a download link on it. You can easily do this by yourself. Create a php file named download.php on your server and add the following code to it: <html> <head> <meta http-equiv=”refresh” content=”5; url=<?php $_GET[‘url’];?>” /></head> … Read more