Ed Mac
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Addthis plugin conflict with latest Customizr update@tklist another workaround is to set a static page as the homepage, for me it solved the issue of AddThis not showing up on the homepage.
Forum: Themes and Templates
In reply to: [Customizr] Addthis plugin conflict with latest Customizr update3.3.0 worked like a charm. Love you guys!
Forum: Themes and Templates
In reply to: [Customizr] Addthis plugin conflict with latest Customizr updateThank you d4z_c0nf, that would be great. Also archive pages show the same issue. ??
Forum: Themes and Templates
In reply to: [Customizr] Addthis plugin conflict with latest Customizr updateI’m also experiencing some Addthis (plugin 4.0.3) conflicts with Customizr (3.2.17) theme. Right now I have a static page as homepage and a “news” page for posts page. The issue is that the posts page does not load properly and only shows up latest post link: https://www.imba-italia.org/news/
Thanx for your help
Forum: Fixing WordPress
In reply to: Updated language no show!Same problem here with wp 3.3.1
I’ve changed the wp-config.php and uploaded the .mo files but nothing happens…Forum: Themes and Templates
In reply to: "Older posts" link not working on a custom page templatesolved using custom menus.
Forum: Hacks
In reply to: Use Body class in page template to show a categoryA strange thing happens: the title of the post is not a link to the post page where you can comment it. It’s a simple text with no link… this is weird… any ideas?
Forum: Hacks
In reply to: Use Body class in page template to show a categoryAwesome it works now. Thank you very much!!!
This page is now perfect. What if in other pages I would like to show just the beginning of each post with the “Continue reading” link? Is there a way?Forum: Hacks
In reply to: Use Body class in page template to show a categoryOk… my template looks like this:
<?php /** * Template Name: Landing * * A custom page template for the landing page * * The "Template Name:" bit above allows this to be selectable * from a dropdown menu on the edit page screen. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ get_header(); ?> <div id="container"> <div id="content" role="main"> <?php /* Run the loop to output the page. * If you want to overload this in a child theme then include a file * called loop-page.php and that will be used instead. */ get_template_part( 'loop', 'page' ); ?> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar(); ?> <?php get_footer(); ?>
but if I modify it into:
<?php /** * Template Name: Landing * * A custom page template for the landing page * * The "Template Name:" bit above allows this to be selectable * from a dropdown menu on the edit page screen. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ get_header(); ?> <div id="container"> <div id="content" role="main"> query_posts( array ( 'category_name' => 'landing', 'posts_per_page' => -1 ) ); <?php /* Run the loop to output the page. * If you want to overload this in a child theme then include a file * called loop-page.php and that will be used instead. */ get_template_part( 'loop', 'page' ); ?> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar(); ?> <?php get_footer(); ?>
Doesn’t work…
Forum: Hacks
In reply to: Use Body class in page template to show a categoryYes I know that, I already have my “car” template page up & working. I’ve done it duplicating another template and pasting inside a part of the standard page template. Actually now works as the standard page template.
So you say I simply have to addquery_posts( array ( 'category_name' => 'The Category Name', 'posts_per_page' => -1 ) );
to my template php file?
Where do I have to put this code exactly?Forum: Hacks
In reply to: Use Body class in page template to show a categoryBody class was an idea, something like “load category category-cars”. But I have no idea on how to write it down in code.
If you have an easier way to achieve the result…Forum: Themes and Templates
In reply to: Multiple CSS files and Conditional TagsI’ve made some tests (and read some more tutorials) and sorted out this:
#sidebar.blog{ position:absolute; top:12em; right:313px; float:right; width:190px; margin:0 -230px 0 0; padding:20px; background:#eee; }
this way the widgets load on the bottom of the page and the sidebar’s background color remains…
Forum: Themes and Templates
In reply to: Multiple CSS files and Conditional TagsOk, this is a great step forward. Now my theme has classes.
Now I have two options:
1. tell the css to load sidebar only in this two cases<body class="blog"> <body class="single single-post">
or
2. tell the css not to load the sidebar in this case
<body class="page-template-blank">
Which option is best? And how do I write down the code? I’ve tried this.blog { #sidebar{ position:absolute; top:12em; right:313px; float:right; width:190px; margin:0 -230px 0 0; padding:20px; background:#eee; } }
in the css with no good results. Do I have to repeat the .blog {} every time sidebar appears in the css stylesheet?
Forum: Themes and Templates
In reply to: Multiple CSS files and Conditional TagsIt’s official: my theme doesn’t use classes.
Forum: Themes and Templates
In reply to: Multiple CSS files and Conditional TagsWell, if I’m supposed to find post_class and body_class in the style.css file… well the answer is no. By the way if it could help this is my theme and this is?my website.