MrYawn
Forum Replies Created
-
Forum: Themes and Templates
In reply to: no widgets under appearanceNot sure if this is what you’ve asked for but If you want to create a blog/news page. Try creating another page template and name it news, which consists of a list of post in a defined category such as:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="postsingle" id="post-<?php the_ID(); ?>"> <div class="entry"> <?php $recent = new WP_Query("cat=95"); while($recent->have_posts()) : $recent->the_post();?> <!-- --> <?php the_content(); ?> <!-- --> <?php endwhile; ?> </div> </div> <?php endwhile; ?> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?>
add whatever content you want to display between <!– –> such as page title, content etc, then a link to the post.
Forum: Themes and Templates
In reply to: [Simplify] Home Page HelpInsert the code inside a div and place it between the divs of where you want it to appear. so in your case between the slide-container and featured-boxes
for example:
<div id="slide-container"> content here </div> <div id="page-content"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="entry"> </div> <?php the_content('<br />Read the rest of this entry »'); ?> </div> <?php wp_link_pages('before=<div id="pagination"><b>Continue reading: </b>&after=</div>&next_or_number=number'); ?> <?php endwhile; else: ?> <?php endif; ?> </div> <div id="featured-boxes"> content here </div>
then add css:
#page-content { width:100%; float:left; margin:10px 0px; }
Forum: Themes and Templates
In reply to: [AccessPress Lite] Logo CenteredHi meganme517
css:
#masthead .site-branding img { margin:0 auto; }
Forum: Themes and Templates
In reply to: no widgets under appearanceno problem, sorry the outcome wasn’t what you wanted.
Forum: Themes and Templates
In reply to: Forever Theme: Add 4 recent posts/images to non posts pageIf you could try the code below and so I can identify if it is the featured image causing the issue.
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="postsingle" id="post-<?php the_ID(); ?>"> <div class="entry"> <?php $recent = new WP_Query("cat=4&showposts=4"); while($recent->have_posts()) : $recent->the_post();?> <?php the_date(); ?> <h3><?php echo get_the_title(); ?></h3> <?php endwhile; ?> </div> </div> <?php endwhile; ?> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?>
Forum: Themes and Templates
In reply to: Change the position of page-titleHi costumedesign,
How did you place the slider in your page? Can you not just paste the slider div below your page title in your theme template?
Forum: Themes and Templates
In reply to: no widgets under appearanceYes, the theme doesn’t support widgets, as this is a bespoke theme created by someone from scratch they haven’t included widget use for whatever reason. You could try hard coding the functionality you need and working around it but that would probably be a big job.
Forum: Themes and Templates
In reply to: [Minamaze] Center menu and logoFor this particular theme it is the “body-core” that has the background color, removing this would remove all the white of the body, you would need to separate the header from the body-core div and style them separately.
#body-core { background-color:transparent; }
Hi Traveliaa
If you go to “Appearance” and “Customize” you will probably be able to find ways of editing colours etc if you don’t have access to code.
Forum: Themes and Templates
In reply to: [Minamaze] Center menu and logoThe theme is already set for center image and nav, just need to change the widths, use the css below:
#logo {
float: left;
text-align: center;
margin: 10px 0 0;
width: 100%;
}#header-links {
float: right;
width: 100%;
}Forum: Themes and Templates
In reply to: [Minamaze] Center menu and logodo you have a link to your site, maybe able to supply you with some CSS to do this?
Forum: Themes and Templates
In reply to: [Moesia] Adding a new page appears as front pageHi LauraElite,
is it an ordering issue? if you added another new page does that put it to the top also. There maybe somewhere in your theme that needs editing it orders descending such as
“order=DESC”sorry not much help but may give someone a start to a solid solution.
Forum: Themes and Templates
In reply to: [Simplify] Home Page Helpokay, so in your dashboard in pages you have an “about page” and in that there is a load of text but it’s not showing up on the front end of the site?
Open your template and where you want “the content” of that page to appear addd the following code:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="entry"> </div> <?php the_content('<br />Read the rest of this entry »'); ?> </div> <?php wp_link_pages('before=<div id="pagination"><b>Continue reading: </b>&after=</div>&next_or_number=number'); ?> <?php endwhile; else: ?> <?php endif; ?>
does that help? apologies but just trying to an understanding of what you’re after.
Forum: Themes and Templates
In reply to: [WP Opulus] Add Link to Homepage Banner ImageGlad you sorted it ??
Forum: Themes and Templates
In reply to: [Minamaze] Centering the header imgI would guess:
.custom-header img {
display: block;
margin-left: auto;
margin-right: auto;
}