Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter snkai

    (@snkai)

    yes – it works without a child theme

    in child a only got this in my functions.php:

    <?php
    /**
    * Child theme stylesheet einbinden in Abhängigkeit vom Original-Stylesheet
    */
    
    function child_theme_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/style.css' , array('parent-style'));
    
    }
    add_action( 'wp_enqueue_scripts', 'child_theme_styles' );
    add_image_size( 'minimer-large', 940 );?>
    

    a header.php

    <!DOCTYPE html> 
    <html class="no-js" <?php language_attributes(); ?>>
    
    <head>
    	<meta charset="<?php bloginfo('charset'); ?>">
    	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    	<link rel="profile" href="http://gmpg.org/xfn/11">
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	
    	<?php wp_head(); ?>
    	
    	<script data-ad-client="ca-pub-2935849978917334" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    	
    </head>
    
    <body <?php body_class(); ?>>
    
    <?php if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } ?>
    
    <a class="skip-link screen-reader-text" href="#page"><?php _e( 'Skip to content', 'minimer' ); ?></a>
    
    <div id="wrapper">
    	
    	<div id="header-sticky">
    		<header id="header" class="hide-on-scroll-down">
    
    			<div class="group pad">
    				<?php echo minimer_site_title(); ?>
    				<?php if ( get_theme_mod( 'header-social', 'on' ) == 'on' ): ?>
    					<?php minimer_social_links() ; ?>
    				<?php endif; ?>
    				<?php if ( display_header_text() == true ): ?>
    					<p class="site-description"><?php bloginfo( 'description' ); ?></p>
    				<?php endif; ?>
    				
    				<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
    					<div class="toggle-search"><i class="fas fa-search"></i></div>
    					<div class="search-expand">
    						<div class="search-expand-inner">
    							<?php get_search_form(); ?>
    						</div>
    					</div>
    				<?php endif; ?>
    				
    				<?php if ( has_nav_menu('header') ): ?>
    					<nav class="nav-container group" id="nav-header">
    						<div class="nav-toggle"><i class="fas fa-bars"></i></div>
    						<div class="nav-text"><!-- put your mobile menu text here --></div>
    						<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'header','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>				
    					</nav><!--/#nav-header-->
    				<?php endif; ?>
    				
    				<?php if ( has_nav_menu('mobile') ): ?>
    					<nav class="nav-container group" id="nav-mobile">
    						<div class="nav-toggle"><i class="fas fa-bars"></i></div>
    						<div class="nav-text"><!-- put your mobile menu text here --></div>
    						<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'mobile','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>									
    					</nav><!--/#nav-mobile-->
    				<?php endif; ?>
    				
    			</div>
    			
    		</header><!--/#header-->
    	</div><!--/#header-sticky-->
    	
    	<?php if ( get_header_image() ) : ?>
    		<div class="site-header">
    			<a href="<?php echo esc_url( home_url('/') ); ?>" rel="home">
    				<img class="site-image" src="<?php header_image(); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
    			</a>
    		</div>
    	<?php endif; ?>
    	
    	<?php get_template_part('inc/featured'); ?>
    	
    	<div class="container" id="page">
    		<div class="container-inner">			
    			<div class="main">
    				<div class="main-inner group">
    

    a single.php

    
    <!DOCTYPE html> 
    <html class="no-js" <?php language_attributes(); ?>>
    
    <head>
    	<meta charset="<?php bloginfo('charset'); ?>">
    	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    	<link rel="profile" href="http://gmpg.org/xfn/11">
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	
    	<?php wp_head(); ?>
    	
    	<script data-ad-client="ca-pub-2935849978917334" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    	
    </head>
    
    <body <?php body_class(); ?>>
    
    <?php if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } ?>
    
    <a class="skip-link screen-reader-text" href="#page"><?php _e( 'Skip to content', 'minimer' ); ?></a>
    
    <div id="wrapper">
    	
    	<div id="header-sticky">
    		<header id="header" class="hide-on-scroll-down">
    
    			<div class="group pad">
    				<?php echo minimer_site_title(); ?>
    				<?php if ( get_theme_mod( 'header-social', 'on' ) == 'on' ): ?>
    					<?php minimer_social_links() ; ?>
    				<?php endif; ?>
    				<?php if ( display_header_text() == true ): ?>
    					<p class="site-description"><?php bloginfo( 'description' ); ?></p>
    				<?php endif; ?>
    				
    				<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
    					<div class="toggle-search"><i class="fas fa-search"></i></div>
    					<div class="search-expand">
    						<div class="search-expand-inner">
    							<?php get_search_form(); ?>
    						</div>
    					</div>
    				<?php endif; ?>
    				
    				<?php if ( has_nav_menu('header') ): ?>
    					<nav class="nav-container group" id="nav-header">
    						<div class="nav-toggle"><i class="fas fa-bars"></i></div>
    						<div class="nav-text"><!-- put your mobile menu text here --></div>
    						<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'header','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>				
    					</nav><!--/#nav-header-->
    				<?php endif; ?>
    				
    				<?php if ( has_nav_menu('mobile') ): ?>
    					<nav class="nav-container group" id="nav-mobile">
    						<div class="nav-toggle"><i class="fas fa-bars"></i></div>
    						<div class="nav-text"><!-- put your mobile menu text here --></div>
    						<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'mobile','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>									
    					</nav><!--/#nav-mobile-->
    				<?php endif; ?>
    				
    			</div>
    			
    		</header><!--/#header-->
    	</div><!--/#header-sticky-->
    	
    	<?php if ( get_header_image() ) : ?>
    		<div class="site-header">
    			<a href="<?php echo esc_url( home_url('/') ); ?>" rel="home">
    				<img class="site-image" src="<?php header_image(); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
    			</a>
    		</div>
    	<?php endif; ?>
    	
    	<?php get_template_part('inc/featured'); ?>
    	
    	<div class="container" id="page">
    		<div class="container-inner">			
    			<div class="main">
    				<div class="main-inner group">
    

    and a style.css

    
    /*
    Theme Name: Childtheme
    Description: Mein neues Childtheme
    Author: Dein Name
    Author URI: http://www.kaischoening.de
    Template: minimer
    Version: 1.0
    Tags:
    */
    /*Füge deinen Code unter dieser Zeile ein. Nutze ggf. !important, um Styles aus dem Haupttheme zu überschreiben.*/
    
    Thread Starter snkai

    (@snkai)

    Hello @alxmedia Any Ideas? What can we do?

    Thread Starter snkai

    (@snkai)

    This is jetpack plugin and they said it is the problem of template. If i have the theme switch to wordpress strandard template it works – so it seams that this is a problem with your theme in combination with jetpack and a use of child theme.

    Thread Starter snkai

    (@snkai)

    Hello??? Any support on this?

    Thread Starter snkai

    (@snkai)

    Any ideas on this?
    Kai

    Thread Starter snkai

    (@snkai)

    Was maybe a cache problem.

    Thread Starter snkai

    (@snkai)

    Thanks, so is it posible to change to an other social service?

    Thread Starter snkai

    (@snkai)

    Thanks – thats was it.

    Thread Starter snkai

    (@snkai)

    Hi and thanx,
    i tried with and without mport external media – end up in the same error.
    Import local could be a last try – but we have more then 8000 articles with about 8000 images to transfer…
    I wonder, while the import is running, the complete website is hanging, so there is a error, but hard to find out, what could be the problem on the server.

    Thread Starter snkai

    (@snkai)

    Any idea or help on this? Try again about 10 times, but everytime i got this cURL error 28

    Thread Starter snkai

    (@snkai)

    Hi, thanx, tried to set it to 30 and up to 50 but still got the same errors in logs
    first on this small file:

    https://www.szenenight.de/images/stories/2013/006/funneon560.JPG

    Is it posible to split the import? Or is it posible to resume only the missing media? Or can i delete the posts in database an resume the importer?

Viewing 11 replies - 1 through 11 (of 11 total)