Robin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…the other option could be
<?php if (is_category(23)) { function jl_remove_post_dates() { add_filter('the_date', '__return_false'); add_filter('the_time', '__return_false'); add_filter('the_modified_date', '__return_false'); add_filter('get_the_date', '__return_false'); add_filter('get_the_time', '__return_false'); add_filter('get_the_modified_date', '__return_false'); } add_action('loop_start', 'jl_remove_post_dates'); } ?>Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…if (is_category(23) ) { echo ' <style> .entry-date { display:none !important; } .entry-author{ display:none !important; } .entry-cats{ display:none !important; } entry-permalink{ display:none !important; } </style>'; } ?>Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…ha time differences 😛 its 1PM in new zealand
ok in the original code i gave you
<?php
if (is_category(23) )
{
echo ‘ <style>
.entry-date {
display:none;
}
</style>’;
}
?>Forum: Fixing WordPress
In reply to: Trouble with display image for "Structure" themecan you post a link to your blog ?
Forum: Fixing WordPress
In reply to: Stream link unresponsive/lostwhen i ping the address 131.230.242.36 it goes to request time out, you should contact the host company if the server is even up or is this a local server ?
was it working before?Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…cool
Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…it would be good if you could post your link
Forum: Fixing WordPress
In reply to: Permalinks 404 error on new siteIt should be mod apache url rewrite
but i guess you should be able to do that in your htacess fileForum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…i would have to see your site to see which classes are working on it
not sure but you might try calling this function inside the conditional loop
Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…haha 😛
as i said it was just a reference guide
#author and #time r no id/classesi just gave you a syntax
you have to see which classes/ ids r being used in your codeForum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…i mean if you follow the structure of my code it should work , as this is the code i am using in one of my sites
Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…<?php if ( is_user_logged_in() ) { echo ' <style> </style>'; } else { echo ' <style> html { background-color:#FFF !important; } </style>' ; } ?>this is my working code
Forum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…my code was just a reference guide
and if you are getting this error means you are not closing your tags properly or missing a bracket
and if you put it on top under your
<?php ?>
it should not breakForum: Fixing WordPress
In reply to: Hide Post Author & Date – specific issue…i put my code on top