sproet
Forum Replies Created
-
Forum: Plugins
In reply to: [PhotoDropper] Cannot verify account – mail doesn’t arriveUPDATE
Trying to send a Forgot Password email results in “Hmmm…an account with that email address doesn’t seem to exist…eventhough I got an email from Nicky that he/she welcomes me to Photodropper and it was sent to the same email address I used to create an account.
So please tell me…HOW I can verify my email address/account ?
Forum: Plugins
In reply to: [PhotoDropper] Cannot verify account – mail doesn’t arriveUPDATE
An email arrived thanking me for joining Photodropper, but it had no verification link or any way for me to create a password. So I still cannot login. I will try to send a Forgot Password mail to myself (from within the plugin) and see if that works.
Forum: Themes and Templates
In reply to: [MesoColumn] Remove “Category:” from category page titleSorry, solved! I forgot to comment out the one instance of the word “Onderwerp:” that I should have commented out. I did all the rest but missed that on particular instance.
Thanks for your help!
Forum: Themes and Templates
In reply to: [MesoColumn] Remove “Category:” from category page titleHi Gregory,
no there isn’t even a cache plugin installed on this website. I just cleared my browser’s cache, and all of the history ever…but the word “Onderwerp:” keeps showing up.
I took a screenshot so you can see what I mean. Are you sure that I have copied the right file to my child theme and edited it in the right way? I ask because no where in that file I can find “Category:” with the : after Category. I really bothers me that I cannot get this right for my client.

- This reply was modified 8 years, 8 months ago by sproet. Reason: image did not show up
Forum: Themes and Templates
In reply to: [MesoColumn] Remove “Category:” from category page titleThanks for you help, Richie and Gregory. I got the title centered now, but no matter what I try to change according to your example, it is not removing the word “Onderwerp;”.
I do have a child theme, and I created a lib folder in the child themes folder, and inside the lib folder I created a templates folder and I placed headline.php inside that last folder, just like it is in the original theme. I then edited that file headline.php as you indicated.
Here under you find the code from headline.php as I have it now. Perhaps I am doing something wrong?
<?php do_action('bp_before_headline'); global $page, $paged; $cat_id = get_queried_object()->term_id;; $cat_name = get_queried_object()->name;; if( is_home() || is_page_template('page-templates/template-blog.php') ) { ?> <h2 class="inblog effect-1 header-title"><?php _e('Latest News From The', 'mesocolumn'); ?> <span><?php _e('Blog', 'mesocolumn'); ?></span><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php _e('Page', 'mesocolumn'); ?> <?php echo $paged; ?><?php } ?><?php do_action('bp_inside_headline'); ?></h2> <?php } else if ( is_category() ) { ?> <h2 class="incat effect-1 header-title feat_tn_cat_color_<?php echo $cat_id; ?>"><?php //_e('Archives for', 'mesocolumn'); ?> <?php single_cat_title(); ?><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php _e('Page', 'mesocolumn'); ?> <?php echo $paged; ?><?php } ?><?php do_action('bp_inside_headline'); ?></h2> <?php } else if ( is_tag() ) { ?> <h2 class="intag effect-1 header-title"><?php //_e('Tag archives for', 'mesocolumn'); ?> <?php single_cat_title(); ?><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php _e('Page', 'mesocolumn'); ?> <?php echo $paged; ?><?php } ?><?php do_action('bp_inside_headline'); ?></h2> <?php } else if (is_author()) { ?> <h2 class="inauthor effect-1 header-title"> <?php if ( have_posts() ) : the_post(); ?> <?php printf( __( 'Author Archives: %s', 'mesocolumn' ), '<span class="vcard"><a class="url fn" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php _e('Page', 'mesocolumn'); ?> <?php echo $paged; ?><?php } ?><?php rewind_posts(); endif; ?><?php do_action('bp_inside_headline'); ?></h2> <?php } else if ( is_archive() && get_post_type() == 'post' ) { ?> <h2 class="inarchive effect-1 header-title"> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_day()) { ?> <?php //_e('Archives for', 'mesocolumn'); ?> <?php echo the_time( get_option( 'date_format' ) ); ?> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <?php //_e('Archives for', 'mesocolumn'); ?> <?php echo the_time('F, Y'); ?> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <?php //_e('Archives for', 'mesocolumn'); ?> <?php echo the_time('Y'); ?> <?php } ?><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php //_e('Page', 'mesocolumn'); ?> <?php echo $paged; ?><?php } ?><?php do_action('bp_inside_headline'); ?></h2> <?php } else if (is_single()) { ?> <?php } else if (is_search()) { ?> <h2 class="insearch effect-1 header-title"><?php _e('Search result for "', 'mesocolumn'); ?> <?php the_search_query(); ?> <?php _e('"', 'mesocolumn'); ?><?php if ( $paged >= 2 || $page >= 2 ) { ?> - <?php _e('Page', 'mesocolumn'); ?> <?php echo $paged; ?><?php } ?><?php do_action('bp_inside_headline'); ?></h2> <?php } else { ?> <h2 class="inposttype effect-1 header-title feat_tn_cat_color_<?php echo $cat_id; ?>"><?php //_e('Archive for', 'mesocolumn'); ?> <?php echo $cat_name; ?><?php do_action('bp_inside_headline'); ?></h2> <?php } do_action('bp_after_headline'); ?>Forum: Themes and Templates
In reply to: [Oria] How to set fixed height for post preview box on homepageI have another theme with the same problem (Mesocolumn) and sometimes when there’s no text in a post, just a photo, everything gets mixed up on the frontpage. The excerpt also messes things up since you cannot set it to an x number of characters.
Workaround for me was to confine the excerpt to a certain height. I set a min and a max height tomake sure the space where the excerpt is shown,is always equally high. That particular area is in my case not called the_excerpt but feat-cont. You need to find out what that div is called in your theme. Use Firefox with the firebug Addon to find it.
CSS Code:
/* limit excerpt to 3 lines */ .feat-content { overflow: hidden; text-overflow: ellipsis; line-height: 1.4em; min-height: 5.2em; max-height: 5.2em; }I’m on a MacBook Pro, relatively new, and Safari’s Web Development Mode tells me it’s browser compatible for all the latest Chrome and Firefox browsers, and IE 7-8-9-10-11. I’m not sure how reliable this Development Mode is but it all looks good to me.
Richie, would you please explain to me in which file of the theme you have written the code for the excerpt? And what the code is that you used? I want to try to create a better solution. Even though it works fine.
- This reply was modified 9 years, 1 month ago by sproet.
Okay, I found it out myself in the meantime. FYI 🙂
/* limit excerpt to 3 lines */ .feat-content { overflow: hidden; text-overflow: ellipsis; line-height: 1.4em; max-height: 5.2em; } @media (-webkit-min-device-pixel-ratio: 0) { .feat-content { display: -webkit-box; -webkit-line-clamp: 3; /* number of lines to show */ -webkit-box-orient: vertical; } } /* To make sure the single posts are left alone and only the archive pages are affected */ .archive .entry-content { overflow: hidden; text-overflow: ellipsis; line-height: 1.4em; max-height: 5.2em; /* number of lines you want shown (3 in this case) * line-height, so: 3 * 1.4em = 5.2em */ } @media (-webkit-min-device-pixel-ratio: 0) { .archive .entry-content { display: -webkit-box; -webkit-line-clamp: 3; /* number of lines to show */ -webkit-box-orient: vertical; } }Forum: Plugins
In reply to: [Plugin: Custom Field Template] url or e-mail link optionsMade a typo, use code below (missed an “r” in
- a href
)
[Source] type = checkbox value = <a href='http://www.ed.nl/'>Eindhovens Dagblad</a> # <a href='http://www.deweekkrant.nl/de_ahrenberger/'>De Ahrenberger</a>Forum: Plugins
In reply to: [Plugin: Custom Field Template] url or e-mail link optionsHi all,
it’s really simple to have a list of links, I use them to add the source of an article whenever I copy something from the web or the newspapers. I have a bunch of regular sources, so this makes it easy to reference the source.
Create your template like this, with single quotes instead of double ones around the actual url. Just found that out by accident really 🙂
[Source] type = checkbox value = <a hef='http://www.ed.nl/'>Eindhovens Dagblad</a> # <a href='http://www.deweekkrant.nl/de_ahrenberger/'>De Ahrenberger</a>That’s all folks!