justclint
Forum Replies Created
-
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Post Format Type?Perfect! It worked great. Thanks so much!
Clint
Forum: Themes and Templates
In reply to: [Pinboard] Eliminate space below header?My bad, the theme might be using a shortcode or function that outputs the above code.
What theme are you using?
Forum: Themes and Templates
In reply to: Do I need to know extensive PHP to create a theme?Well the short answer is Yes, you need to be comfortable with PHP if you intend to build a theme from scratch.
As far as learning, me personally I still enjoy reading books. Heres a new php for beginners book coming out next month by Apress: http://www.amazon.com/PHP-Absolute-Beginners-Jason-Lengstorf/dp/1430268158/ref=sr_1_5?s=books&ie=UTF8&qid=1406746317&sr=1-5&keywords=php+beginners
If you looking for online maybe checkout linda.com or im sure you can find something just searching online.
For your other question, at the end of the day use the one you like. I also did not like brackets. I like sublimetext.com (all platforms) and also notepad-plus-plus.org (windows only) or geany.org (linux).
But these are just text editors. Im not sure what you would mean by live preview of PHP. What php outputs is generally functionality not cosmetics so you need to run (view in browser) your php to see/test the results.
Hope that helps.
Forum: Fixing WordPress
In reply to: Dynamically Pull Custom PostYou will want to use ‘post_type’ in the argument, so using the code above and with a custom post type called ‘music’ for example, you would do something like:
$query = new WP_Query( array( ‘post_type’ => ‘music’, ‘cat’ =>$slidecat,’posts_per_page’ =>$count ) );
if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>For more info see the args for WP_Query: http://codex.wordpress.org/Class_Reference/WP_Query
Looks like your using a plugin called cyclone slider which is adding css styles inline so Im assuming you should see a height setting inside the slider settings. Once your in the that specific slider look at the right sidebar for additional settings.
Let me know if that works.
Forum: Themes and Templates
In reply to: [Pinboard] Eliminate space below header?I forgot to mention, no its not too late to use a child theme and quite recommended if your going to edit any of the theme files.
Forum: Themes and Templates
In reply to: [Pinboard] Eliminate space below header?It looks like theres a search form that is creating that extra space.
If you dont need the search form which Im assuming since its not visible, go into your header.php file and delete or comment out the form.
I will look like:
<form role="search" method="get" id="searchform" action="http://www.yestorealfood.com/"> <input type="text" value="" placeholder="Search this website…" name="s" id="s"> <input type="submit" id="searchsubmit" value="Search"> </form>let me know if that works.
Forum: Themes and Templates
In reply to: Editing font on my themeIn your style.css file look for the following and to remove/edit lowercase:
h1.page-title,
h1.entry-title {
line-height: 1.5;
margin: 0em 0 0;
padding-bottom: 0.3em;
text-transform: lowercase;
}To change the font find the following and edit:
.fancy, .says, cite, h1.page-title, h1.entry-title, blockquote {
font-family: Georgia, Cambria, “Times New Roman”, Times, serif;
}To change the italic find the following and edit:
q, i, em, cite, .fancy, .says, h1.page-title, h1.entry-title {
font-style: italic;
font-weight: inherit;
}NOTE: if your only trying to edit the h1.entry-title class you may need to break it out and give it its own settings
Forum: Themes and Templates
In reply to: how to minimize empty space between my footer and contentYou seem to have a fixed px height on your sidebar. You may want to set that value to auto. In your css file look for the following:
.content-sidebar {
background-color: #fff;
width: 290px;
height: 2290px;
padding-top: 20px;
}
change the height to auto. That should fix it.
Forum: Themes and Templates
In reply to: Editing font on my themecan you please provide a link to the site
Forum: Themes and Templates
In reply to: Video Coding HelpIt looks like you have them all entered into the content area of a page or post. You have few options.
1. (easiest) use a gallery plugin that supports video
2. Add each video as its own posts then edit your post category template to your liking.
For more info on editing the category template: http://codex.wordpress.org/Category_Templates
Forum: Themes and Templates
In reply to: [Minamaze] Sidebar problemNot sure if there is a theme setting in the admin but your sidebar width is defined here: http://vrellios.cld.gr/dskard/wp-content/themes/minamaze/styles/layouts/thinkup-right-sidebar.css
This seemed to do the trick:
if (class_exists('MultiPostThumbnails')) { $image_name = "sidebar-image"; if (MultiPostThumbnails::has_post_thumbnail('page', $image_name)) { $image_id = MultiPostThumbnails::get_post_thumbnail_id( 'page', $image_name, $post->ID ); $attr = array('class' => "border-1"); $image = wp_get_attachment_image( $image_id, 'sidebar-image', false, $attr ); echo $image; } };Forum: Themes and Templates
In reply to: how to create or define bloginfo varsHey esmi, I forgot 1 thing from my original post. In regards to writing custom variables in functions.php I noticed I was able to add echo $myvar in the index.php and it worked as expected but when adding it to header.php it just simply did not output anything.
Is there some unique behavior between different pages?
Thanks!
Forum: Themes and Templates
In reply to: how to create or define bloginfo varsThanks esmi! That helps me a lot. Im glad I didnt continue trying to do this. I will follow your input as suggested.
Thanks again!