I’ve been using your “THE NEWSWIRE” 20 year’s more. I’ts the greatist cool design in the world ever. I’ve search another themes include Priced one. But no other themes more beautiful than “THE NEWSWIRE”. So please go minor update for us. Thank you.
]]>https://www.ads-software.com/plugins/pressroom-by-newswire/
]]>Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Any ideas why I’d be getting this error? No other plugins have been giving me errors.
https://www.ads-software.com/plugins/pressroom-by-newswire/
]]>Thank you for your extremely useful plugin.
I am requesting urgent help with getting my blog using The Newswire theme to work with Polylang’s capability for custom header/banner images for each language. The default script in wpml-config.xml:
<wpml-config>
<admin-texts>
<key name=’theme_mods_twentytwelve’> [changing this to _the-newswire]
<key name=’header_image’ />
</key>
</admin-texts>
</wpml-config>
Does not succeed in creating a new category in Strings translation to input custom header images for each language. I am aware that the theme uses a different header script than the standard wordpress one but I have not been successful in finding the correct key names to have this function with The Newswire.
If anyone can adjust the script above to correspond to the correct names for the theme I am using I would be extremely grateful.
https://www.ads-software.com/plugins/polylang/
]]><?php /*Template Name: Home without Slider*/ ?>
<?php get_header(); ?>
<div id=”content” class=”clearfix”>
<div id=”main” class=”no-slider clearfix” role=”main”>
<?php
$paged = get_query_var(‘page’);
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query(‘post_type=post&paged=’ . $paged);
?>
<?php if ( $wp_query->have_posts() ) : ?>
<div id=”grid-wrap-2″ class=”clearfix”>
<?php /* Start the Loop */ ?>
<?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
<div class=”grid-box”>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( ‘content’, get_post_format() );
?>
</div>
<?php endwhile; ?>
<div id=”sidebar” class=”widget-area-wrap”>
<?php if ( ! dynamic_sidebar( ‘sidebar-home’ ) ) : ?>
<aside id=”categories” class=”widget”>
<div class=”widget-title”><?php _e( ‘Categories’, ‘newswire’ ); ?></div>
</aside>
<aside id=”recent-posts” class=”widget”>
<div class=”widget-title”><?php _e( ‘Latest Posts’, ‘newswire’ ); ?></div>
foreach( $recent_posts as $recent ){
if ($recent[“post_title”] == ”) {
$recent[“post_title”] = __(‘Untitled’, ‘newswire’);
}
echo ‘
‘;
}
?>
</aside>
<aside id=”archives” class=”widget”>
<div class=”widget-title”><?php _e( ‘Archives’, ‘newswire’ ); ?></div>
</aside>
<?php endif; // end sidebar widget area ?>
</div>
<div class=”gutter-sizer”></div>
</div>
<?php if (function_exists(“newswire_pagination”)) {
newswire_pagination();
} elseif (function_exists(“newswire_content_nav”)) {
newswire_content_nav( ‘nav-below’ );
}?>
<?php else : ?>
<article id=”post-0″ class=”post no-results not-found”>
<header class=”entry-header”>
<h1 class=”entry-title”><?php _e( ‘Nothing Found’, ‘newswire’ ); ?></h1>
</header><!– .entry-header –>
<div class=”entry-content post-content”>
<p><?php _e( ‘It seems we can’t find what you’re looking for. Perhaps searching can help.’, ‘newswire’ ); ?></p>
<?php get_search_form(); ?>
</div><!– .entry-content –>
</article><!– #post-0 –>
<?php endif; ?>
<?php wp_reset_postdata(); ?>
</div> <!– end #main –>
</div> <!– end #content –>
<?php get_footer(); ?>
Yes, I have created my own template trying to get rid of the widget even populating. There are default widgets that show up even if you have nothing. In addition, just space-barring the text in a text widget makes an ugly grey box appear.
I would LOVE for the content to stay to the left of the widget so I can show the widget, but I am more than willing to have no widgets at all, but everything I have tried has resulted in error. Maybe one of you can help me with this.
Thanks.
]]>I’m looking for a plugin that will automate the process of posting links gathered from around the web — just like Facebook’s “post to timeline” feature which automatically extracts the post title and a blurb.
Ideally I need this for two things: breaking news for a news wire widget, and a more general “More about this topic from around the web” page that contributors can easily update.
I can’t find this in the extensive plugin repository because I’m not sure what to search for. Everything I try comes back with dozens of pages of irrelevent results.
Thanks in advance.
]]>It seems as though index.php is the place to tweak, and possibly a nested loop, but I do need a hand with this one.
index.php code below
<?php get_header(); ?>
<div id="content" class="clearfix">
<div id="slide-wrap">
<?php
$args = array(
'posts_per_page' => 10,
'post_status' => 'publish',
'post__in' => get_option("sticky_posts")
);
$fPosts = new WP_Query( $args );
$countPosts = $fPosts->found_posts;
?>
<?php if ( $fPosts->have_posts() ) : ?>
<div id="load-cycle"></div>
<div class="cycle-slideshow" <?php
if ( get_theme_mod('newswire_slider_effect') ) {
echo 'data-cycle-fx="' . wp_kses_post( get_theme_mod('newswire_slider_effect') ) . '" data-cycle-tile-count="10"';
} else {
echo 'data-cycle-fx="scrollHorz"';
}
?> data-cycle-slides="> div.slides" <?php
if ( get_theme_mod('newswire_slider_timeout') ) {
$slider_timeout = wp_kses_post( get_theme_mod('newswire_slider_timeout') );
echo 'data-cycle-timeout="' . $slider_timeout . '000"';
} else {
echo 'data-cycle-timeout="5000"';
}
?>>
<div class="cycle-pager"></div>
<?php while ( $fPosts->have_posts() ) : $fPosts->the_post(); ?>
<div class="slides">
<h2 class="slide-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'newswire' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div id="post-<?php the_ID(); ?>" <?php post_class('post-theme'); ?>>
<?php if ( has_post_thumbnail()) : ?>
<div class="slide-thumb"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail( array(1000, 640) ); ?></a></div>
<?php else : ?>
<?php $postimgs =& get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) );
if ( !empty($postimgs) ) :
$firstimg = array_shift( $postimgs );
$my_image = wp_get_attachment_image( $firstimg->ID, array( 1000, 640 ), false );
?>
<div class="slide-thumb"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php echo $my_image; ?></a></div>
<?php else : ?>
<div class="slide-noimg">
<div class="slide-noimg-copy">
<?php echo newswire_excerpt(30); ?><br /><br />
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php _e('Continue Reading →', 'newswire'); ?></a>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<?php endwhile; ?>
</div>
<?php endif; ?>
</div>
<div id="main" class="col620 clearfix" role="main">
<?php if ( have_posts() ) : ?>
<h2 class="heading-latest"><?php _e('News for a Culture of Peace', 'newswire'); ?></h2>
<div id="grid-wrap" class="clearfix">
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="grid-box">
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>
</div>
<?php endwhile; ?>
</div>
<?php if (function_exists("newswire_pagination")) {
newswire_pagination();
} elseif (function_exists("newswire_content_nav")) {
newswire_content_nav( 'nav-below' );
}?>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'newswire' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content post-content">
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'newswire' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
<?php endif; ?>
</div> <!-- end #main -->
<?php get_sidebar('home'); ?>
</div> <!-- end #content -->
<?php get_footer(); ?>
]]>