p0mmeluff
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Prevent WP to add width/height to img-tagsWow, thank you! This works for me. ??
However, I modified it slightly so that it only removes the attributes on specific pages:
add_filter( 'post_thumbnail_html', 'remove_width_attribute', 10 ); add_filter( 'image_send_to_editor', 'remove_width_attribute', 10 ); function remove_width_attribute( $html ) { if ( !is_page( myPage ) ) { return $html; } else { $html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html ); return $html; } }
Forum: Everything else WordPress
In reply to: WibWabWeb.com – is this legal?Thanks for your replies, Ipstenu.
I am going to reconsider my view as you gave me something to think about.
Forum: Everything else WordPress
In reply to: WibWabWeb.com – is this legal?Well, yes. There is some truth behind it. Pirates always find a ship to capture.
But I’m not talking about selling themes. I’m talking about rights. I’m totally fine with giving away themes or >apply anything you think of< for free, but with some conditions — at least for those who follow them.
I know, there are always some guys who claim other people’s work as their own, rip websites, crack games, share movies, … , but there are still x percent who follow the conditions. That’s no reason to categorically say “do whatever you want with it – I don’t care”. Therefore, in my opinion, other licenses which don’t grant all rights, are justified, anyway. Otherwise there would be no reason to sell anything (digital) anymore.
By the way – talking about licenses – is CC a GPL-compatible license or not? I ofter read contradictory statements about it …
Forum: Everything else WordPress
In reply to: WibWabWeb.com – is this legal?Oh, boy … Things like that drive me nuts.
Themes from sites that support non-GPL (or compatible) themes or violate the WordPress community guidelines themes will not be approved.
Okay, so this seems to be the reason not to submit any themes to www.remarpro.com …
(For me) It’s fine to share themes / software / … for free with the community, spread the word, let them modify it, as long as they share alike. Just like a CC BY-NC-SA. But a (forced) GPL-call-me-stupid-and-do-whatever-you-want-license? No, thanks.Too bad, www.remarpro.com is (obviously) the best known and biggest place to go for themes. I hope someday they will allow themes submitted under other rather “open” licenses.
Forum: Themes and Templates
In reply to: How to link to a templateSeems as if I am the first to solve this problem, eh? ??
Forum: Themes and Templates
In reply to: How to link to a templateIs this a good or bad way to solve it?
Link on index.php gets the following code:
<a href="?=blubb_archives">archive</a>
Function in functions.php:
$current_qry = $_SERVER['QUERY_STRING']; $required_qry = '=blubb_archives'; if ( $current_qry == $required_qry ) { function blubb_archives () { include(TEMPLATEPATH . '/archives.php'); exit; } add_action('template_redirect', 'blubb_archives'); }
What it does:
If the current url contains the query “blubb_archives”, the function loads and displays archive.phpI am using the link only at the frontpage (index.php) and nowhere else.