WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > HTML & XHTML > Need help making changes to pre-made blog post formats from custom WP Theme

Reply
  Thread Tools Display Modes
Old 27th September 13, 06:26 AM   #1
TrinityBeats
WLC Member
 
Join Date: Sep 2013
Posts: 2
Default Need help making changes to pre-made blog post formats from custom WP Theme

I have purchased a WP theme from Themeforest by Codestag called Shift and its a pretty easy to use and clean UI. It is mostly for blog style posts and they have created pre-made blog posts styles...

For example, an "Audio" post is text and the enbedded audio file. "Video" is the video link and text, "Photo" is obviously the photo and text.

My problem is that these are not customizable and the type of blog posts I create are either audio or video and include a photo of the artists or album art. What code do I need to add to allow this pre-made post to include a photo? (CODE BELOW)

The second question I have is how can I change the order from Audio file, Title, Text to Title , photo text and audio?

This is the code for the pre-made blog style: "Audio":

Quote:
<div class="hentry-inner">

<div class="entry-wrapper grids">

<?php get_template_part('content', 'meta'); ?>

<div class="entry-content grid-10 clearfix">

<?php
$embed = get_post_meta(get_the_ID(), '_stag_audio_embed', true);

if(!empty($embed)){
echo do_shortcode(htmlspecialchars_decode($embed));
}else{
stag_audio_player(get_the_ID());
}

?>

<?php if( is_single() ) { ?>

<h1 class="entry-title"><?php the_title(); ?></h1>

<?php } else { ?>

<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'stag'), get_the_title()); ?>"> <?php the_title(); ?></a></h2>
<?php } ?>

<?php

if(!is_singular()){
if(get_the_excerpt() != '') echo "<p>".strip_shortcodes(get_the_excerpt())."</p>";
}else{
the_content(__('Continue Reading', 'stag'));
wp_link_pages(array('before' => '<p><strong>'.__('Pages:', 'stag').'</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));
}

?>
</div>
<span class="bottom-accent"></span>
</div>
</div>
Much thanks in advance for the help!
TrinityBeats is offline   Reply With Quote
Old 27th September 13, 06:30 AM   #2
meesa
WLC Mod
 
meesa's Avatar
 
Join Date: Jul 2009
Location: Milky Way Galaxy
Posts: 3,711
Default Re: Need help making changes to pre-made blog post formats from custom WP Theme

Considering this was purchased, have you tried contacting the creator for help on this?
__________________
Praise be to the Lord God for the ability to learn, the capability to analyze, and the time to help users on this forum.
meesa is offline   Reply With Quote
Old 27th September 13, 06:31 AM   #3
TrinityBeats
WLC Member
 
Join Date: Sep 2013
Posts: 2
Default Re: Need help making changes to pre-made blog post formats from custom WP Theme

Quote:
Originally Posted by meesa View Post
Considering this was purchased, have you tried contacting the creator for help on this?
I have yes, they said since this was a "customization" that they could not help me with something that was not regarding an issue with the theme... They said it was a simple couple lines of code though..
TrinityBeats is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:04 PM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.