Beiträge von celinesofficial

    halo,
    ich hätte mein ´vorherige posts´gerne links unterhalb der trennlinie unter dem main...kann mir jemand helfen?
    http://www.celinesofficial.com
    index php:


    style.css:

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar();

    add_theme_support('post-thumbnails');

    function celinesofficial_widgets_init() {

    register_sidebar( array(

    'name' => __( 'Custom Widget Area Header', 'celinesofficial' ),

    'id' => 'sidebar-custom-header',

    'description' => __( 'Custom widget area for the header of my theme', 'yourthemename' ),

    'before_widget' => '<aside id="%1$s" class="widget %2$s">',

    'after_widget' => '</aside>',
    'before_title' => '<h3 class="widget-title">',

    'after_title' => '</h3>',


    ) );

    }
    add_action( 'widgets_init', 'celinesofficial_widgets_init' );

    function remove_more_link_scroll( $link ) {
    $link = preg_replace( '|#more-[0-9]+|', '', $link );
    return $link;
    }
    add_filter( 'the_content_more_link', 'remove_more_link_scroll' );

    add_filter( 'post_thumbnail_html', 'wps_post_thumbnail', 10, 3 );
    function wps_post_thumbnail( $html, $post_id, $post_image_id ) {
    $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';
    return $html;
    }

    ?>
    so sieht meine function.php aus... ist das nicht richtig ?:) b3317133

    meine index.php sieht jetzt so aus: kann mir jemand sagen was ich in den css schreiben muss um die schrift anzupassen?
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"

    <?php get_header(); ?>

    <div id="main">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php if(has_post_thumbnail()){
    the_post_thumbnail();} ?>
    <h3><a class="Überschrift" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
    <div class="entry">

    <?php the_content('MORE','',''); ?><div id="meta"></div><div id="erstellt_am">
    <p>erstellt am: <?php the_date('d.m.Y'); ?>-<a class="comments" href="<?php the_permalink(); ?>#comments" title="Kommentare zu '<?php the_title(); ?>'"><?php comments_number('Keine Kommentare','1 Kommentar','%Kommentare'); ?></a>
    </div></div>

    <?php endwhile; endif; ?><!-- main -->
    <div id="navigation">
    <div id="alignleft"><?php previous_posts_link( '&laquo; NEWER POSTS' ); ?></div>
    <div id="alignright"><?php next_posts_link( 'OLDER POSTS &raquo;', '' ); ?></div>
    </div> <!-- main --></div>


    <div id="sidebar">
    <?php get_sidebar(); ?>
    </div><!-- sidebar -->


    <div id="footer">
    <?php get_footer(); ?>
    </div><!-- footer -->

    ja, aber der Artikel zeigt nur wie man eizelne ältere posts von einem post aus anzeigen lässt oder ?
    ich hätte gerne, dass man auf der startseite auf einen link klicken kann und dasnn eine die älteren posts, die man auf der ersten seite nicht mehr sieht, sieht.

    Hallo,

    ich hätte gerne unte auf meiner Startseite einen "vorherige Posts" und einen "neuere Posts" link... kann mir jemand sagen wie ich das mache, also welche befehle ich nutzen muss ? habe das theme selbst programmiert, aber dazu finde ich im Internet keinen guten artikel...
    Reicht auch schon, wenn ihr mir hier einen verlinkt, falls ihr mehr erfolg bei der suche habt als ich :)

    Danke schonmal
    Celine

    Hallo,
    Ich habe den Blog relativ frisch geschrieben, aber mir wird beim dashboard keine option angezeigt die Widgets zu bearbeiten.
    Hat jemand Zeit und Lust mal nach Fehlern zu suchen?
    Bin n ziemlicher Anfänger was programmieren angehtg :)

    function.php:

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar();

    add_theme_support('post-thumbnails');

    function celinesofficial_widgets_init() {

    register_sidebar( array(

    'name' => __( 'Custom Widget Area Header', 'celinesofficial' ),

    'id' => 'sidebar-custom-header',

    'description' => __( 'Custom widget area for the header of my theme', 'yourthemename' ),

    'before_widget' => '<aside id="%1$s" class="widget %2$s">',

    'after_widget' => '</aside>',
    'before_title' => '<h3 class="widget-title">',

    'after_title' => '</h3>',


    ) );

    }
    add_action( 'widgets_init', 'celinesofficial_widgets_init' );

    function remove_more_link_scroll( $link ) {
    $link = preg_replace( '|#more-[0-9]+|', '', $link );
    return $link;
    }
    add_filter( 'the_content_more_link', 'remove_more_link_scroll' );

    add_filter( 'post_thumbnail_html', 'wps_post_thumbnail', 10, 3 );
    function wps_post_thumbnail( $html, $post_id, $post_image_id ) {
    $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';
    return $html;
    }

    ?>


    danke in vorraus
    Celine

    Ich habe es jetzt probehalber nochmal bei einem anderen Blog versucht. Sobald ich Google Analytics die authorisierung entzogen habe, hat sich das LAyout verändert. Genau wie bei dem Anderen Blog. hat jemand ne Idee wie ich das Problem lösen kan?

    Das Google Analytics Plugin des Ursprungsblogs zeigt jetzt folgenden Fehler:
    Last Error: 2017-03-02 11:01:44: exception 'Google_Auth_Exception' with message 'Error refreshing the OAuth2 token, message: '{
    "error" : "invalid_grant",
    "error_description" : "Token has been expired or revoked."
    }'' in /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php:331
    Stack trace:
    #0 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php(264): Google_Auth_OAuth2->refreshTokenRequest(Array)
    #1 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Auth/OAuth2.php(240): Google_Auth_OAuth2->refreshToken('1/gmQcByBO9NzTV...')
    #2 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Resource.php(215): Google_Auth_OAuth2->sign(Object(Google_Http_Request))
    #3 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Analytics.php(1909): Google_Service_Resource->call('get', Array, 'Google_Service_...')
    #4 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(291): Google_Service_Analytics_DataGa_Resource->get('ga:137103532', '30daysAgo', 'yesterday', 'ga:sessions,ga:...', Array)
    #5 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(429): GADWP_GAPI_Controller->handle_corereports('137103532', '30daysAgo', 'yesterday', 'ga:sessions,ga:...', Array, 'qr3_2375655808')
    #6 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/tools/gapi.php(856): GADWP_GAPI_Controller->get_bottomstats('137103532', '30daysAgo', 'yesterday', false)
    #7 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-content/plugins/google-analytics-dashboard-for-wp/admin/ajax-actions.php(108): GADWP_GAPI_Controller->get('137103532', 'bottomstats', '30daysAgo', 'yesterday', false)
    #8 [internal function]: GADWP_Backend_Ajax->ajax_item_reports('')
    #9 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array)
    #10 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #11 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #12 /mnt/web123/c3/38/57742038/htdocs/WordPress_SecureMode_01/wp-admin/admin-ajax.php(91): do_action('wp_ajax_gadwp_b...')
    #13 {main}

    ich hatte garkein ftp programm offen. Alles was ich gemacht habe ich mein Email widget anzupassen, aber das auch direkt im widget ereich und google analytics abzustellen.
    Hier trotzdem die header php
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//DE" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="de">
    <head profile="http://gmpg.org/xfn/11">

    <!-- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php wp_title('-', true, 'right'); ?> - <?php bloginfo('name'); ?></title>


    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <div id="header">
    <?php wp_head(); ?>

    </head>
    <body>

    <div id="wrapper">

    <div id="header"onclick="location.href='http://www.pimpyourcamper.com';"
    onkeypress="location.href='http://www.pimpyourcamper.com';" style="cursor: pointer;"
    >
    <br><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <link href="https://fonts.googleapis.com/css?family=Syncopate" rel="stylesheet">
    <h3><?php bloginfo('description'); ?></h3>

    </div><!-- header -->
    <?php if ( is_active_sidebar( 'sidebar-custom-header' ) ) : ?>

    <div id="sidebar-header">

    <?php dynamic_sidebar( 'sidebar-custom-header' ); ?>

    </div>

    <?php endif; ?><br>

    <div id="topmenu">
    <ul>
    <?php wp_list_categories('title_li='); ?>
    </ul>
    </div>

    <a class="Überschrift" href="<?php bloginfo('url'); ?>">
    </div<
    </a>

    hallo,

    ich habe meinen Blog mithilfe des Duplicators genutzt um auf der basis den Blog meiner Eltern zu designen. hat auch alles super geklappt, bis ich google analytics abgeschaltet habe und jetzt ist das ganze Layout kaputt und es sieht so aus:
    http://pimpyourcamper.com/here-comes-lola/
    Backup funktioniert auch nicht. hat jemand ne Idee?
    Ich bin, falls ihr es noch nicht bemerkt habt, absolut kein Profi...
    Liebe Grüße Celine

    gibt es:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//DE" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="de">
    <head profile="http://gmpg.org/xfn/11">

    <!-- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php wp_title('-', true, 'right'); ?> - <?php bloginfo('name'); ?></title>


    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <div id="header">
    <?php wp_head(); ?>

    </head>
    <body>

    <div id="wrapper">

    <div id="header"onclick="location.href='http://www.celinesofficial.com';"
    onkeypress="location.href='http://www.celinesofficial.com';" style="cursor: pointer;"
    >
    <br><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <link href="https://fonts.googleapis.com/css?family=Syncopate" rel="stylesheet">
    <h3><?php bloginfo('description'); ?></h3>

    </div><!-- header -->
    <?php if ( is_active_sidebar( 'sidebar-custom-header' ) ) : ?>

    <div id="sidebar-header">

    <?php dynamic_sidebar( 'sidebar-custom-header' ); ?>

    </div>

    <?php endif; ?><br>

    <div id="topmenu">
    <ul>
    <?php wp_list_categories('title_li='); ?>
    </ul>
    </div>

    <a class="Überschrift" href="<?php bloginfo('url'); ?>">
    </div<
    </a>

    ich hatte auch die index.php im verdacht:
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"

    <?php get_header(); ?>

    <div id="main">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php if(has_post_thumbnail()){
    the_post_thumbnail();} ?>
    <h3><a class="Überschrift" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
    <div class="entry">

    <?php the_content('MORE','',''); ?><div id="meta"></div><div id="erstellt_am">
    <p>erstellt am: <?php the_date('d.m.Y'); ?>-<a class="comments" href="<?php the_permalink(); ?>#comments" title="Kommentare zu '<?php the_title(); ?>'"><?php comments_number('Keine Kommentare','1 Kommentar','%Kommentare'); ?></a>
    </div></div>

    <?php endwhile; endif; ?>
    </div><!-- main -->

    <div id="sidebar">
    <?php get_sidebar(); ?>
    </div><!-- sidebar -->


    <div id="footer">
    <?php get_footer(); ?>
    </div><!-- footer -->

    ich kann den fehler verdammt nochmal nicht finden, kenne mich aber zugegebener maßen wenig aus...