ThemeForest

Posts by Mwea

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says
15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

Hello all,
Today i was just googling some keywork linked with my items, and i see this :
[link removed]
It seems to be a Git depot where a stealer post some of all our items.

What should we do against him ?

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

The theme is a template , i was thinking that 3.0 was the required version but even the plugins given for checking the compatibility are allowed for 3.3 and more..

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

Then just 3.4 or 3.5 ?

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

Hello all,

Just a question : Is there a requirement about the minimum version of Wordpress which can be used with a theme ?

Thank you

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

Well, thank you for all this answers :)
Last question ^^’ : My theme is almost done, but I actually don’t know which parts need to be reworked , what should i do ?

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

@sevenspark Thank you for your advice ! I’ve never try this solution to write a static file with PHP , have you any exemple ? :)

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says
Thank you for your answer :) Hum.. Are you saying that you do something like that :
<?php 
header("Content-type: text/javascript; charset: UTF-8"); 
if($('#my-options-page')) {
include(TEMPLATEPATH . '/js/plugins1.js'); 
}
include(TEMPLATEPATH . '/js/plugins2.js'); 
include(TEMPLATEPATH . '/js/plugins3.js'); 

?>
I’m not sure to understand , how you do that..
15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

I get what you want to do here and for passing any kind of variables from WordPress to your scripts you should use a wp_localize_script function. This way you will keep you files clean and avoid incompatibility (some servers will only parse PHP when the file has a PHP extension).

Actually i don’t care to get some variables coming from Wordpress, but thanks this links could help me for some others stuff ;)

15 posts
  • Sold between 1 000 and 5 000 dollars
  • France
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 1 and 9 items
Mwea says

Hello,
I’m a young developper and I’m actually coding my first theme for Themeforest but I’ve some questions to ask.
In my theme, there is an admin panel, which allow to disable or not some jQuery plugins, but i want neither to have a lot of HTTP request nor to have a big Javascript file or CSS file then i had an idea to solve my problem.
I’m requesting a script called javascript.php in my footer with some parameters like Gallery, ScrollTo, etc.. and in this script i get all my parameters to disable some parts of my code , here is an exemple :
footer.php
<script src="<?php echo get_template_directory_uri(); ?>/js/javascript.php?Gallery=true&Scrollto=false"></script>
Javascript.php
<?php
header("Content-type: text/javascript; charset: UTF-8");
$parameters = array ($_GET['Gallery'], $_GET['Scrollto']);
if ($parameters[0] == true ) { ?>
function(window, document, $) {
blablablabla...
}
<?php
}
if ($parameters[1] == true ) {
?>
function(window, document, $) {
blablablabla...
}
<?php } ?>
Is it a good way to merge all my scripts , and don’t have a huge file when it’s loaded in the page ?

Thanks, and sorry for my english.

by
by
by
by
by