Truth
Forum Replies Created
-
Yes, I did. I changed it back to “nggallery”, the URL becomes
https://dayna.me/portfolio/illustrations/nggallery/page-2and clicking on the above brings me to
https://dayna.me/portfolio/illustrations/I’ve this problem as well, once I enabled the permalinks, the pagination doesn’t work. Gallery slug name is: portfolio.
Example: https://dayna.me/portfolio/illustrations/
Click on page 2 (URL: https://dayna.me/portfolio/illustrations/page-2/ )
and it goes back to https://dayna.me/portfolio/illustrations/I did update my permalinks after turning on this setting.
Deactivate it again, the link to page 2 is https://dayna.me/portfolio/illustrations/?nggpage=2 and it’s working.
Bug?
Forum: Plugins
In reply to: Create excerpt for meta descriptionGot it to work!
Thanks for the help.
Forum: Plugins
In reply to: Create excerpt for meta description<php if (is_home() || is_front_page() ) : $descrip = get_bloginfo('description'); else : $post = $wp_query->post; $descrip = strip_tags($post->post_content); $descrip_more = ''; if (strlen($descrip) > 155) { $descrip = substr($descrip,0,155); $descrip_more = ' ...'; } $descrip = str_replace('"', '', $descrip); $descrip = str_replace("'", '', $descrip); $descripwords = preg_split('/[\n\r\t ]+/', $descrip, -1, PREG_SPLIT_NO_EMPTY); array_pop($descripwords); $descrip = implode(' ', $descripwords) . $descrip_more; echo '<meta name="description" content="'.$descrip.'" />'; endif; ?>
Is the above correct? Sorry, I’m totally lost when it comes to PHP.
I only need to differentiate the home page from the rest.
Forum: Plugins
In reply to: Create excerpt for meta description^ I’m sorry but how does that fits into the above?
By the way, I have this in the header.php which is out of the loop. Does it still works?
Thanks!
Forum: Plugins
In reply to: Create excerpt for meta descriptionThanks! I was looking for this.
Just wondering, is it possible to make it such that if it’s at the homepage, it draws the description from WP blog Tagline?
Would appreciate your assistance.
Thanks!
Forum: Plugins
In reply to: [wordpress popular posts] No data so far.Edit: The latest beta version 2.1.1 has fixed the “no data” issue. Everything is working properly on my site again. Can I suggest removing the “weekly, daily, monthly” text from the output? Thanks!
Forum: Plugins
In reply to: [wordpress popular posts] No data so far.Am using the latest 2.1.1 on my site now, still having the no data issue.
Forum: Plugins
In reply to: [wordpress popular posts] No data so far.Tried the new version yesterday but still didn’t fix the problem. I reverted back to the old version.
Is it possible to remove the “weekly, monthly” text from the output inn the beta version? It’s newly added into the beta version but I would prefer to just list out the posts without any additional text.
Forum: Plugins
In reply to: [wordpress popular posts] No data so far.Under the WP URL, I’ve the correct settings, it’s “https://amourchaleur.com/wordpress”. My actual blog is located at https://amourchaleur.com but the issue still exist. My current setting is:
<?php if (function_exists("get_mostpopular")) get_mostpopular("range=weekly&order_by=views&limit=3&stats_comments=0&stats_views=0&wpp_start='<ul>'&wpp_end='</ul>'&post_start='<li>'&post_end='</li>'&pages=0"); ?>
I’ll try out the new version tonight and let you know. Thanks!
Forum: Plugins
In reply to: [wordpress popular posts] No data so far.I’ve noticed this problem with my installation too. It started displaying the “Sorry. No data so far.”. Been using this plugin for a long time so I don’t see why it stopped working suddenly.
According to the dashboard page, there are data for monthly and all-time views but the daily and weekly ones have no data as of today. It was still working yesterday.
Tried the fix posted above but it doesn’t work. ??
Oh okay, but in that case, wouldn’t I be loading an extra stylesheet from the plugin that my theme doesn’t really use? I think I will stick to backing up the stylesheet from the plugin and override it when there’s an update.
Thanks anyway! ??
^ Thanks!
Do you mean to have the contact form styles inside my original theme’s file?
Forum: Fixing WordPress
In reply to: Flickr photos no longer working with Oembed^ So basically no one has this problem or know how to fix it? ??
Would really appreciate any help. Thanks!