R
Ritter
Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
hola, estoy creando mi propia pagina, ya que estoy haciendo una consultora de rrhh pero no me dan los fondos para pagar una pagina web, un amigo me comento de wordpress y la verdad me entusiasme mucho, pero tengo un problema que no puedo solucionar, no puedo quitar una par de cosas en la pagina si alguien fuera amable necesito sacar todo lo que no sea del post,
la pagina es Enlace eliminado
y lo que me gustaria sacar es
Share Our Posts
Share this post through social bookmarks.
Comments
Tell us what do you think.
There are no comments on this entry.
Trackbacks
Websites mentioned my entry.
There are no trackbacks on this entry
Add a Comment
Fill in the form and submit.
Logged in as admin. Log out »
Comments:
el codigo del php es
<?php
/*
Template Name: Single Post
*/
?>
<?php get_header(); ?>
<div id="content" class="content content-singular content-single">
<div id="content-pad">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php while (have_posts()) : ?>
<?php the_post(); ?>
<?php
if (function_exists('bcn_display')) {
echo '<p class="breadcrumb">';
bcn_display();
echo '</p>';
}
?>
<div class="title">
<h1><?php the_title(); ?></h1>
</div>
<div class="content">
<?php the_content(); ?>
<div class="clear"></div>
<?php wp_link_pages(array('before' => '<p class="pages"><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<div class="post-box post-box-share append-clear">
<div class="title">
<h2><?php echo __('Share Our Posts', PADD_THEME_SLUG); ?></h2>
<p><?php echo __('Share this post through social bookmarks.', PADD_THEME_SLUG); ?></p>
</div>
<?php
remove_filter('excerpt_more','padd_theme_hook_excerpt_index_more');
add_filter('get_the_excerpt','padd_theme_hook_excerpt_bookmark');
add_filter('excerpt_more','padd_theme_hook_excerpt_bookmark_more');
$padd_sb_url = urlencode(get_permalink());
$padd_sb_title = urlencode(get_the_title());
$padd_sb_notes = urlencode(get_the_excerpt());
$padd_img_path = get_template_directory_uri() . '/images/icon-bm-32-%s.png';
?>
<div class="interior append-clear">
<ul>
<?php
global $padd_socialbook;
foreach ($padd_socialbook as $k => $psb) {
$psb->set_ref_url($padd_sb_url);
$psb->set_title($padd_sb_title);
$psb->set_excerpt($padd_sb_notes);
$psb->set_content('<img alt="' . $psb->get_network() . '" src="' . sprintf($padd_img_path, $k) . '" />');
echo '<li>' . $psb . '</li>';
}
?>
</ul>
</div>
</div>
<?php
if (function_exists('related_posts')) {
related_posts();
}
?>
<?php comments_template('',true); ?>
<?php endwhile; ?>
</div>
</div>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
<?php get_footer(); ?>
la pagina es Enlace eliminado
y lo que me gustaria sacar es
Share Our Posts
Share this post through social bookmarks.
Comments
Tell us what do you think.
There are no comments on this entry.
Trackbacks
Websites mentioned my entry.
There are no trackbacks on this entry
Add a Comment
Fill in the form and submit.
Logged in as admin. Log out »
Comments:
el codigo del php es
<?php
/*
Template Name: Single Post
*/
?>
<?php get_header(); ?>
<div id="content" class="content content-singular content-single">
<div id="content-pad">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php while (have_posts()) : ?>
<?php the_post(); ?>
<?php
if (function_exists('bcn_display')) {
echo '<p class="breadcrumb">';
bcn_display();
echo '</p>';
}
?>
<div class="title">
<h1><?php the_title(); ?></h1>
</div>
<div class="content">
<?php the_content(); ?>
<div class="clear"></div>
<?php wp_link_pages(array('before' => '<p class="pages"><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
<div class="post-box post-box-share append-clear">
<div class="title">
<h2><?php echo __('Share Our Posts', PADD_THEME_SLUG); ?></h2>
<p><?php echo __('Share this post through social bookmarks.', PADD_THEME_SLUG); ?></p>
</div>
<?php
remove_filter('excerpt_more','padd_theme_hook_excerpt_index_more');
add_filter('get_the_excerpt','padd_theme_hook_excerpt_bookmark');
add_filter('excerpt_more','padd_theme_hook_excerpt_bookmark_more');
$padd_sb_url = urlencode(get_permalink());
$padd_sb_title = urlencode(get_the_title());
$padd_sb_notes = urlencode(get_the_excerpt());
$padd_img_path = get_template_directory_uri() . '/images/icon-bm-32-%s.png';
?>
<div class="interior append-clear">
<ul>
<?php
global $padd_socialbook;
foreach ($padd_socialbook as $k => $psb) {
$psb->set_ref_url($padd_sb_url);
$psb->set_title($padd_sb_title);
$psb->set_excerpt($padd_sb_notes);
$psb->set_content('<img alt="' . $psb->get_network() . '" src="' . sprintf($padd_img_path, $k) . '" />');
echo '<li>' . $psb . '</li>';
}
?>
</ul>
</div>
</div>
<?php
if (function_exists('related_posts')) {
related_posts();
}
?>
<?php comments_template('',true); ?>
<?php endwhile; ?>
</div>
</div>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
<?php get_footer(); ?>