Hide or Show Read More Button by Content Area

This checks the number of characters and hide the button server-side in content.php: <?php $excerpt = get_the_excerpt(); $excerpt_length = strlen($excerpt); $excerpt_limit = 100; // Match the limit set in functions.php // only for debugging: var_dump($excerpt); var_dump($excerpt_length); ?> <div class=”news-main”> <?php the_excerpt(); ?> </div> <?php if ($excerpt_length >= $excerpt_limit) : ?> <div class=”news-read”> <a href=”<?php echo … Read more

Forming comments on WordPress blogs with TeX [closed]

WordPress doesn’t support this out the box so you’d need to know how Tex support is implemented on that blog. Looking at the raw HTML suggests tex2jax_ignore which heavily implies Mathjax is being used. A quick look at Math stack exchange suggests they’re using MathJax v2.7.5. Having said that, Stack exchange doesn’t use HTML the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)