Light777
Forum Replies Created
-
How do I post my URL discreetly instead of publicly?
Forum: Fixing WordPress
In reply to: Block editor problem with drag&dropI don’t understand what that means. As soon as I hold an up or down arrow button, it changes my cursor location, even if I was holding down my mouse button when I do it.
I still cannot drag and drop blocks again. Now I have to cut and paste everything. ??
Forum: Plugins
In reply to: [MyBookTable Bookstore by Stormhill Media] PHP errorIs anyone supporting this plugin anymore? I can’t import anything now. Always gives PHP error.
Works perfectly! Thank you!!!
Or is there a way to default the “more” to open on a single episode playlist so that users can always see the full description.
Then the only weird thing on single episode players is that the episode title is displayed three times. It’s confusing. But if you could hide the playlist on single episode players, that would work too.
I’m open to options. I just want to see the full title and full description on a single episode player (by default).
Thanks,
Here’s the section that’s causing the error. It’s the line that says “$current_relative_url=”…
====================================================
/**
* Add noindex/nofollow to custom posts to not allow search engines to index custom posts.
*/
public function robots() {
if ( isset($this->options->noindex_custom_post) && $this->options->noindex_custom_post ) {
global $wp;
$current_relative_url = trailingslashit(add_query_arg($_SERVER[‘QUERY_STRING’], ”, trailingslashit($wp->request)));
if ( strpos($current_relative_url, ‘bwg_gallery’) !== FALSE
|| strpos($current_relative_url, ‘bwg_album’) !== FALSE
|| strpos($current_relative_url, ‘bwg_tag’) !== FALSE ) {
echo ‘<meta name=”robots” content=”noindex,nofollow” />’ . “\n”;
}
}
}