jezthomp
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Enqueue Optimised CSS after WooCommerce CSS?I’m afraid not as its in development.
The html prints out a header tag and that warning appears at the bottom in the source?
Forum: Plugins
In reply to: [Autoptimize] Enqueue Optimised CSS after WooCommerce CSS?Thankyou.
I tried adding your code and got the following error, do i need to put it anywhere specific?
<link type="text/css" media="all" href=“site-bit.com/wp-content/cache/autoptimize/css/autoptimize_4a23bc6078aa709859e90f1dfcb22a91.css" rel="stylesheet" /><!--noptimize--><!-- Autoptimize found a problem with the HTML in your Theme, tag "head" missing --><!--/noptimize-->Forum: Fixing WordPress
In reply to: WP 4.7 Video Headers anywhere on the site?No theme setup yet, i’m just wondering if the video headers can be pulled in anywhere throughout the site almost like a featured image?
Or is something else converting the mp4 to ensure its playable across all browsers?
When you have a custom post type and create a new post you have the Ultimate Member options of… ‘Apply custom access settings’
Which is fine that post will be protected.
But is there anyway to protect all current and future posts from a custom post type by default without having to ‘Apply custom access settings’ for each one at a time?
Forum: Fixing WordPress
In reply to: Deprecated: mysql_connect(): / Cannot modify header ??Removing all the plugins just leaves this..
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home//public_html/wp-includes/wp-db.php on line 1520 Warning: Cannot modify header information - headers already sent by (output started at /home//public_html/wp-includes/wp-db.php:1520) in /home//public_html/wp-includes/pluggable.php on line 1171I think its a hosting error surely?
Forum: Fixing WordPress
In reply to: Deprecated: mysql_connect(): / Cannot modify header ??Hello Fabio.
The hosting says the following…
The PHP extension MySQL is installed. The deprecated error message is generated by PHP 5.5. It is warning you that despite the fact that MySQL is supported, it is not recommended, and may become obsolete.
We can disable the deprecated error messages, but it will not change the fact that MySQL is deprecated in PHP 5.5.
So PHP extension is installed, surely its more than just turning off the errors, i’ll ask them to do that though.
Forum: Plugins
In reply to: [Clean WP Admin Menu] Fatal Error Cannot Activate?WordPress 4.4.1 and PHP 5.2 i think.
Forum: Plugins
In reply to: [Membership 2] Login redirects to random page /login?Thank you for your reply Bojan.
I had no other redirect options set up, but did find the issue if its a help to anyone.
I had the function for Royalslider set up, this js plugin had been removed from the site but, the initialising function was still in my JS.
For some reason this was meaning the ‘logging in’ text wasn’t appearing above the form and thus when you submitted it went to this random /login page.
I have no idea but i’ve figured it out now, thank you.
Forum: Plugins
In reply to: [Twitget] Open Links Within Tweet in New Window?Doh, thank you!
Forum: Fixing WordPress
In reply to: Pagination loop posts so always showing both previous/next?Thank you, works a treat even for custom posts when you add in their query 🙂
Forum: Fixing WordPress
In reply to: Add html (span) to wp_get_attachment_link??That correctly puts the span class has html.
But the link around it is an empty one not the actual link the one above has.
Odd.
Forum: Fixing WordPress
In reply to: Add html (span) to wp_get_attachment_link??Nope it doesn’t print it as html.
It literally prints the <span> live front end, rather than putting the ‘download’ in a span element.
🙁
Forum: Fixing WordPress
In reply to: Add html (span) to wp_get_attachment_link??Ah yes that does work thank you.
However, how would i go about adding html. i.e putting that ‘download’ text in a <span> tag without it actually physically showing the <span> tag as text?
Forum: Fixing WordPress
In reply to: Add html (span) to wp_get_attachment_link??Yeah i tired that but it replaces the existing name of the file, i still need that there, along with the Download text… 🙁
Forum: Fixing WordPress
In reply to: Display Custom Taxonomy Name…?Thats brilliant rev.
I notice it displays a link, will that got to taxonomy-(taxname).php and simply all the results, as i cannot get anything to show up on that page..?
Would it be possible to display just the name without the link?
Thanks again 🙂