Hallo Community,
ich habe mir vorhin das Plugin: Meta Slide in der kostenlosen Version installiert.
Versuche ich nun es mit dem vorgegeben Code (s.u.) in die Startseite (index.php) einzubinden,
stoße ich auf das läste Problem, dass er mir über dem Slider nochmal die Seitenzahlen anzeigt.
Sieht dann so aus:
Code zum Einbinden:
<?php
echo do_shortcode("[metaslider id=2546]");
?>
Code der index.php
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: [URL]http://codex.wordpress.org/Template_Hierarchy[/URL]
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
get_header(); ?>
<div id="container">
<div id="content" role="main">
<?php
echo do_shortcode("[metaslider id=2546]");
?>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
get_template_part( 'loop', 'index' );
?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Kann mir jemand sagen, warum er dann die Seitenzahlen nochmal über den Slide kopiert?