vince23
Forum Replies Created
-
Forum: Plugins
In reply to: [Germanized for WooCommerce] übersetzung wird nicht mehr geladenselbiges hier, würde gerne helfen es zu übersetzen, wenn ich nur wüsste wie man PO-Files korrekt bearbeiten kann. Habe bereits Poedit und das entsprechende File “woocommerce-germanized-de_DE.po”, wei? aber nicht wie ich neue Strings / Verweise setzen kann.
Bitte um Hilfe.Forum: Fixing WordPress
In reply to: if else statementThis works ! Thank you guys a lot !!
Forum: Fixing WordPress
In reply to: if else statementin your case it gives me an error “Parse error: syntax error, unexpected end of file” and a line number at the end of the document.
here is a cleaner version of the code, maybe u can spot the error:
<?php if ( is_home() || is_front_page() ) { $id = 43; $p5 = get_page($id);?> <article> <div class="entry-content"> <?php echo apply_filters('the_content', $p5->post_content); ?> <?php wp_link_pages() ?> </div> </article> <?php $id = 26; $p6 = get_page($id);?> <article> <div class="entry-content"> <?php echo apply_filters('the_content', $p6->post_content); ?> <?php wp_link_pages() ?> </div> </article> }?>
Forum: Fixing WordPress
In reply to: if else statementhmm ,thank you but this gives me an error on the line where my code starts (the last <?php in this case).:
<?php if ( is_home() || is_front_page() ) { <?php
Is it possible to put “<?php” inside another “<?php” at all or do I have to use a special statement ?
Forum: Plugins
In reply to: [WooCommerce] Flat Rate Shipping – Shipping formulasure
Forum: Plugins
In reply to: [WooCommerce] Flat Rate Shipping – Shipping formulaAlright, thank you!
Forum: Plugins
In reply to: [WooCommerce] Sidebar on Single Product pageyou shoould copy ur single.php to your theme folder and
add this to your template:
<?php get_sidebar(); ?>
Forum: Plugins
In reply to: [WooCommerce] My up-sell title will not changeI think what youa re searching for is here:
woocommerce/templates/single-product/up-sells.php
Line 43:
<h2><?php _e( ‘You may also like…’, ‘woocommerce’ ) ?></h2>Forum: Plugins
In reply to: [WooCommerce] BreadcrumbsNow it works, thank you very much !
Forum: Plugins
In reply to: [WooCommerce] Breadcrumbsthanks for the reply but I’m getting this error message now:
Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /homepages/26/d602621195/htdocs/wp-content/themes/mytheme/functions.php on line 65
Forum: Fixing WordPress
In reply to: display certain number of posts on index.phpThank you !
Forum: Fixing WordPress
In reply to: display certain number of posts on index.phpok, thats an option. thank you
any code solutions ?
Forum: Fixing WordPress
In reply to: display certain number of posts on index.phpbut I can only set the amount of posts per page.
I d like to know whether its possible to hide
posts after the last 15 posts.
Forum: Fixing WordPress
In reply to: Apply Taxonmy filter in custom loopthank you very much !
Forum: Fixing WordPress
In reply to: WordPress & Scroll To PluginSo i ve edited my code again.
According to this tutorial:
https://www.thewebsqueeze.com/web-design-tutorials/create-a-horizontal-scrolling-website.html
Here is my header:
<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="main"> * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?><!DOCTYPE html> <!--[if IE 7]> <html class="ie ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="ie ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 7) | !(IE 8) ]><!--> <html <?php language_attributes(); ?>> <!--<![endif]--> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width" /> <title><?php wp_title( '|', true, 'right' ); ?></title> <link rel="profile" href="https://gmpg.org/xfn/11" /> <link href="<?php echo get_stylesheet_directory_uri(); ?>/styles/prettyPhoto.css" rel="stylesheet" type="text/css" media="screen" /> <link href="<?php echo get_stylesheet_directory_uri(); ?>/styles/tipsy.css" rel="stylesheet" type="text/css" media="screen" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'></script> <script src="scripts/jquery.localscroll-min.js" type="text/javascript"></script> <script src="scripts/jquery.scrollTo-min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $.localScroll.defaults.axis = 'x'; $.localScroll(); }); </script> <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> <![endif]--> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="page"> <header id="masthead" class="site-header" role="banner"> <hgroup> </hgroup> <div id="logo"><img src="...mylogo.png"></div> </header><!-- #masthead --> <div id="container">
I used these JS-Files:
jquery.min.js (1.3.2)
jquery.localscroll-min.js
jquery.scrollTo-min.jsIts still not working – maybe a conflict with some of the
standard wordpress JS files ??