How-to News Magazine Theme

The title excerpts in the featured sections of New Magazine Theme 640 are truncated in order to make the excerpts fit neatly into the reserved space. If you prefer to increase the title length or use the full titles then you need to make the following  changes:

Open and edit

includes/featured1.php

To increase: change both instances of 75 to a higher value

if(strlen($thetitle) > 75)
{
$thetitle=LimitText($thetitle,10,75,"");
$thetitle.="»";
}

To use full title:
Replace entire block that looks like
<?php
$thetitle=get_the_title();
if(strlen($thetitle) > 75)
{
$thetitle=LimitText($thetitle,10,75,"");
$thetitle.="»";
}
echo $thetitle;
?>

with

<?php the_title()?>

There are 3 places in featured1.php where you will have to apply the same change if you want to increase the text length for all the titles. To change the others look for and change
$thetitle=LimitText($thetitle,10,25,"");
$thetitle=LimitText($thetitle,10,40,"");

Join the forum discussion on this post - (1) Posts

There are 2 ways you can get rid of the “Interesting Sites” widget in the narrow sidebar

Method #1

Drag your own widgets to the sidebar to replace the ones there by default. To do this

1. Go to your dashboard

2. Click on the “Appearance” tab

3. Click on “Widgets”

4. Decide what widgets you prefer to have in your narrow sidebar and drag them to SidebarNarrow

Method #2

1. Open the file sidebar.php

2. Look for and remove the following block of codd

<div>
<h2><?php _e(“Interesting Sites”,’NewsMagazineTheme640′);?></h2>
<ul>
<?php get_links(‘-1′, ‘<li>’, ‘</li>’, ”, FALSE, ‘id’, FALSE, FALSE, -1, FALSE); ?>
</ul>
</div>

The recommended method is #1 as it does not require you to edit any files.

Join the forum discussion on this post - (1) Posts

1. Go to your dashboard

2. Click Appearance

3. Click News Magazine Theme 640 Options

4. Navigate to Tier 2 120

5. Inside the textbox insert the HTML code for your ad. It should look something like

<img src=”http://www.thedomainforyourimage.com/theimagefile.jpg”>

Let’s say your site is randomsitename.com and your image file name is randomimagefilename.jpg and you have uploaded the image for your ad to your news magazine theme folder. Lets assume your news magazine folder is named news-magazine-theme-640, then your code would look like

<img src=”http://www.randomsitename.com/wp-content/themes/news-magazine-theme-640/randomimagefilename.jpg”>

If you want to make the image clickable you would need to wrap it inside anchor tags as in the example below.

<a href=”http://www.siteimageshouldlinkto.com”><img src=”http://www.randomsitename.com/wp-content/themes/news-magazine-theme-640/randomimagefilename.jpg”></a>

You would then insert the code into the Tier 2 120 box.

For best results keep your image to a strict measurement of 120 pixels wide by 600 pixels high

Join the forum discussion on this post - (1) Posts

1. Go to your dashboard

2. Click Appearance

3. Click News Magazine Theme 640 Options

4. Navigate to Leaderboard Space Content

5. Inside the textbox insert the HTML code for your ad. It should look something like

<img src=”http://www.thedomainforyourimage.com/theimagefile.jpg”>

Let’s say your site is randomsitename.com and your image file name is randomimagefilename.jpg and you have uploaded the image for your ad to your news magazine theme folder. Lets assume your news magazine folder is named news-magazine-theme-640, then your code would look like

<img src=”http://www.randomsitename.com/wp-content/themes/news-magazine-theme-640/randomimagefilename.jpg”>

If you want to make the image clickable you would need to wrap it inside anchor tags as in the example below.

<a href=”http://www.siteimageshouldlinkto.com”><img src=”http://www.randomsitename.com/wp-content/themes/news-magazine-theme-640/randomimagefilename.jpg”></a>

You would then insert the code into the Leaderboard Space Content box.

The option Leaderboard content text position allows you center the image or shift it to the left.

Join the forum discussion on this post - (5) Posts

Enquiry Form

Feel Free to ask us anything Send us a line and we'll contact you right back.

Follow My Twitter Subcribe My FAcebook