D J
Forum Replies Created
-
Forum: Plugins
In reply to: [HMS Protected] Add shortcode to kitchen sinkAlso when you add the [/hms-protected] closing tag, seems not to work as its being displayed in the post. what happens if i wanna to protect a certain paragraph and the continue writing?
Forum: Hacks
In reply to: Posts being viewedThat sounds complicated lol, I guess the other option would be to use a meta key and store timestamp as a value and create a loop within a time range of say 1 minute.
Forum: Hacks
In reply to: Posts being viewedHi, I need a loop in order to display the posts being viewed currently or read sitewide
Forum: Plugins
In reply to: [WP-PostViews] [Plugin: WP-PostViews] Does Postviews work with Super CacheThe code above works, but it is recommendable to be used only in single post.
I tried it on a grid template with 50 posts and the website loaded in 30 seconds.
Can you come up with a code that if a post is visited then reload the cache for that post.
Forum: Plugins
In reply to: [Yoast SEO] post-sitemap.xml is blank/emptyHey there thanks for taking interested in this matter.
Even if I try to view the source there is nothing there, no links no data.
When I checked on my google account, there were errors, google could not crawl two of the sitemaps one for post and I cant remember the other.
The sitemap existed but for some reason there was no content inside two of the xml
// prepare HTML data and init everything
protected function prepare($str, $lowercase=true) {
$this->clear();
$this->doc = $str;
$this->pos = 0;
$this->cursor = 1;
$this->noise = array();
$this->nodes = array();
$this->lowercase = $lowercase;
$this->root = new simple_html_dom_node($this);
$this->root->tag = ‘root’;
$this->root->_[HDOM_INFO_BEGIN] = -1;
$this->root->nodetype = HDOM_TYPE_ROOT;
$this->parent = $this->root;
// set the length of content
$this->size = strlen($str);
if ($this->size>0) $this->char = $this->doc[0];
}Forum: Plugins
In reply to: [WP Bannerize] [Plugin: WP Bannerize] Ads aren't rotatingI have 5 ads in a group and set it to rotate randomly, however it is displaying all 5 banners instead of just 1, also how do i make it display 2 if i wanted to
Forum: Plugins
In reply to: [WP Bannerize] [Plugin: WP Bannerize] Cannot make ads randomI have the same problem, I have added 5 ads to a group and wanted to display one ad at random, but is display all 5 T_T