Levente24
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Image editor error on admin panelyes i did, and it was the same problem
Forum: Fixing WordPress
In reply to: Image editor from visual editor not workingcould you post that htaccess? or show the codes?
Forum: Fixing WordPress
In reply to: Please help hide custom fieldhere is the code
<?php if(is_category(7) || is_page(11) && get_post_meta($post->ID, ‘m_slider’, true) == ‘true’ || 11 == $post->post_parent && get_post_meta($post->ID, ‘m_slider’, true) == ‘true’) {?>
<div id=’slider_bg’>
</div><!– slider_bg –>
<div id=’slider_img’>
<div class=”slider” >
<img src='<?php bloginfo(‘template_url’); ?>/slider/<?php echo get_post_meta($post->ID, ‘main_folder’, true); ?>/1.jpg’>
<img src='<?php bloginfo(‘template_url’); ?>/slider/<?php echo get_post_meta($post->ID, ‘main_folder’, true); ?>/2.jpg’>
<img src='<?php bloginfo(‘template_url’); ?>/slider/<?php echo get_post_meta($post->ID, ‘main_folder’, true); ?>/3.jpg’>
<img src='<?php bloginfo(‘template_url’); ?>/slider/<?php echo get_post_meta($post->ID, ‘main_folder’, true); ?>/4.jpg’></div>
</div>
<?php } ?>Forum: Fixing WordPress
In reply to: Please help hide custom fieldthank you for your reply but this doesnt work either
Forum: Themes and Templates
In reply to: the_content() doesn't work on single and page.phpor maybe a plugin is causing this, have you checked that?
Forum: Themes and Templates
In reply to: the_content() doesn't work on single and page.phpbecause you need a loop
on the single page or page place
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php endwhile; ?> <?php endif; ?>and ready to go
for example you can do this with id’s
go to your header php
and
get your index php (home.php) id you can check that out in the admin.
now in your header php you have the index php id
and write
if(is_page('the id here')) { the logo div here.. }and there your index header is different to add different logos to your other pages just use an else if with their id’s
hope i was able to help
Forum: Hacks
In reply to: How can i put sidebar in single.phpi was able to write a function for it [SOLVED]