LastForOne
Forum Replies Created
-
Forum: Themes and Templates
In reply to: how to make theme post formathere is what i found after going through the source code of your welcome-2 page:
<script type='text/javascript' src='https://s.gravatar.com/js/gprofiles.js?ver=2012Octaa'></script> <script type='text/javascript'> <script src="https://stats.wordpress.com/e-201252.js" type="text/javascript"></script> <script type="text/javascript"> st_go({v:'ext',j:'1:2.0.4',blog:'41647696',post:'137',tz:'0'}); var load_cmc = function(){linktracker_init(41647696,137,2);}; if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc); else load_cmc(); </script> /* <![CDATA[ */ var WPGroHo = {"my_hash":"xxxxxxxxx"}; /* ]]> */ </script>
you’re calling stats.js file inside the
<script>
tag which is likely to fail beside that you’re opening a<script
> tag inside the<script>
tag, so you should go through that and fix it.Forum: Themes and Templates
In reply to: Add checkbox to save pagehave look at this tutorial @ wp.tutsplus
Forum: Themes and Templates
In reply to: Help adding Slider/Rotatorthats a shortcode it will not work if you directly paste it in
.php
files go through the wowslider FAQ or Wiki and find out how to output your slider from within php files..Forum: Themes and Templates
In reply to: Adding class to current page in wp_link_pagesyou can use WP-PageNavi plugin instead of hardcoding it into your theme, but here’s a snippet from Bones The WordPress Starter Theme to hardcode the PageNavi with custom output, have a look.
Paste:
https://pastebin.com/udwKkV5h
Peace,
LastForOneForum: Themes and Templates
In reply to: Help adding Slider/Rotatoryou can place it just after calling the
get_header();
inindex.php
and give it anif(is_home());
that will display it only if its home.Note: if the content wrap starts in the
header.php
then you’ll have to include the file before that wrap.Peace,
LastForOneForum: Themes and Templates
In reply to: Author Page displaying all posts from sitecan you pastebin the archive.php? so we can have a look at the code used to display archives and stuff….
Forum: Themes and Templates
In reply to: Twenty Eleven – specific post should stay on page oneAlternative way of doing that will be defining a category lets say
Bottom Post
query posts from that category at the end of main content and display the latest post.Peace,
LastForOneForum: Themes and Templates
In reply to: Fatal Error After Installing new ThemeAccess your wordpress
wp-content/plugins/
directory through ftp or cpanel and rename the folderpost-ratings
topost-ratings.old
that will disable the plugin Post Ratings which is the one causing the problem.Peace,
LastForOneForum: Themes and Templates
In reply to: Post Title Division in 2 PartsYou can divide the title for example: “Title | Subtitle”.
then explode the_title() something like
$title = explode( ' | ', the_title, 2 );
$title is now an array with title[0] = Title, $title[1] = Subtitle
then echo it as you want.
Note: i’ve not tried this personally just thought of it.
Peace,
LastForOneForum: Themes and Templates
In reply to: Need some help on WordPress for sale websiteyou can use timthumb it can screen capture a site, then use it to display the thumbnail.
more about timthumb @ link
read the web screenshot section for more info on how to set it up.
Peace,
LastForOneForum: Themes and Templates
In reply to: Background image only appearing when text is placed over topis the image big enough to cover the whole content area? for testing purpose set the height to 100% and test it.
Peace,
LastForOneForum: Themes and Templates
In reply to: Custom Photo Galleryyou can query the wp_attachments, display thumbnails and link them to orignal src then use some lightbox to display the Orignal Photo.
Peace,
LastForOneForum: Themes and Templates
In reply to: Background image only appearing when text is placed over topif you just want to display the text on image you should define the height of div same as the height of background image and it wouldn’t be a bad idea to share the link so we can see and get a better understanding of what you’re trying to say..
Peace,
LastForOneForum: Themes and Templates
In reply to: Background image only appearing when text is placed over topyou need to set the height of the div for it to display.
Peace,
LastForOneForum: Themes and Templates
In reply to: Using CSS to target a new windowyou’ve to add the target=’_blank’ attr to the
<a>
for example:<a href="https://www.twitter.com/ninjaninjablog" class="twitter" target="_blank">Twitter</a>
Peace,
LastForOne