rename wordpress theme name to client name - wordpress-theming

is it legal to change a wordpress theme name (premium theme or not) to something else (for example a client's name) so people won't know the theme a wordpress site is using?
Thanks

If you have modified it directly and not using child theme, yo can definitely give it a name .But the problem is you will not get support from the developers and you can not update it, better to use a child theme and if you know the child theme concept It is far better option as you are making a theme with a name you want and you are still able to use new updates and support from the theme developer team.

It's allowed, but you would forfeit any support offered by the theme author. It also could produce errors depending on the theme. To change just go into the theme folder and alter the style.css
themeforest ref
themeforest ref 2

You can creat a child theme and give whatever your wish then access functionality from parent theme.

Related

Prestashop theme HTML code customization

I would like to ask if by buing a Prestashop theme it let me to add or modiffy its HTML source code?
I would like to substitute the "add to card" templatebutton and replace it with a URL to redirect the customer to another website. Would it be possible? So the customer isn't actually purchasing anithing at my site and its only redirecting customers to other sites.
You can modify any html that you want and can put any link anywhere you want if it doesn't contradict theme usage rules. But be aware that prestashop uses smarty templates engine and all html is inside smarty files, so it's better to be acquainted with the latter.

Unable to edit 'URL'. The style sheet must be part of the project

I have been getting this error in Visual Studio 2012 every time I try type an element and the class attribute (i.e. <div class="). It will popup and some times it even crashes Visual Studio if I hit enter too fast.
Is there anyway to get rid of this error while still getting the list of all the CSS classes?
I was having the same problem and a little search brought me to the following page:
http://forums.asp.net/t/1586914.aspx?Unable+to+edit+CSS+file+
In a nutshell: Add a fake parameter to the end of your CDN URL to get rid of your errors. This also makes intellisense work correctly.
Example:
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css?parameter=1" rel="stylesheet">
Visual Studio retrieves intellisense from your css to tell you which classes are available.
You have a reference to that css file but of course don't have edit permission. Looks like a bug to me. Try to remove that reference css file and see if problem go away and file a bug.
Are you using bundling? Maybe you could try to use the cdn feature, like this:
bundleList.Add(new StyleBundle("~/Content/themes/24mx/css", "https://cdnurl/bootstrap.css").Include(
"~/Content/bootstrap.css"
)
);
What this will do is use the cdn in release mode and the local css in debug. So just download that css to have it locally and then it will use the cdn when you publish. Maybe that will help. Ideally you should also use a cdn fallback if it fails:
bundleList.Add(new StyleBundle("~/Content/themes/24mx/css", "https://cdnurl/bootstrap.css"){ CdnFallbackExpression = "javascript expression" }.Include(
"~/Content/bootstrap.css"
)
);
Exactly how to write this expression for a css I haven't really looked into myself.
Can you please check if there is any online refernce to css like
netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css
in your codes. Also please check with a local version of css in that case.
If you change the rel attribute to
<link rel="stylesheet nofollow"...>
This is a work around. From what I can see the problem seems to be that visual studio is trying to adjust the line endings but does not have write permissions. From comments I've found on the web you need to be careful with this as YUI and some versions of IE may not work properly with the nofollow rel value. Personally, I would remove the nofollow before publishing live. A bit of a hassle, but I think it does answer your question as it does avoid the popup box.
Your web pages need to be either under a Web Site or a Web Application project to be able to edit linked style sheets. Here is what you need to do:
1.Tools->Options->Projects and Solutions
2.Check “Always show solution”
3.Right click on the Solution node in the Solution Explorer
4.Choose Add new Web Site or new Web Application project
5.Move your web pages to the new Web Site or Web Application project
Now you should be able to edit the linked style sheets.
Hope this helps

Implementing A Wordpress Site / Custom Designed templates's HTML in Pinnacle Cart

We have built a website for a client in wordpress. Now he wants to make it using pinnacle cart , in order to sell some products. We have searched a lot but couldn't find a convincing way to make it possible. All we have found was the possibility to edit existing files but that doesn't seem to fulfill our need. Does anyone have some information or guidelines which we can follow while making this shift from normal HTML template/wordpress to pinnacle cart. Also I read something about a smarty engine being used in it. We just want to insert pinnacle cart's functionality into our design.
I am answering this almost after one month, By this time you might have found a solution, But I guess this might help some one else.
Design Integration of pinnacle cart is quiet simple.
It has skin files inside the content folder which contains the themes, and admin can activate the theme from admin side.
Steps for pinnacle cart design integration.
Create a new folder in skin folder.
Create a file skin.xml in it (You can copy from the other example themes)
In skin.xml name should be same as your folder name
Create a folder images which contains all your theme related images.
Create a folder styles which contains your theme related style sheets.
Inside styles create a file theme-default.css and put your styles in it.
In skin folder create another folder templates which contains the structure of the pages.
Refer the example themes provided by pinnacle cart and create your theme based on that.
What I think most important thing is - There are three places in pinnacle cart which contains desgin files :
a. content\engine\design
b. content\skins\skin_name
c. content\skins\_custom\skin
All these folders contains folders and files with same name and they do the same thing. But there is a preference - So consider about the header part of the site, file corresponding to it will be templates\layouts\zones\header.html.
So pinnacle cart will first look in to content\skins\_custom\skin\templates\layouts\zones\header.html
If the file is not there then it will look for content\skins\skin_name\templates\layouts\zones\header.html
If the file is not there then look for content\engine\design\templates\layouts\zones\header.html
If it is still not there it will throw a error.
And don't forget to activate this skin from admin side :)

When coding a Wordpress theme, where does the theme (i.e. the presentation) end and the plugin (i.e. the functionality) begin?

The best guideline I have seen for what should be in a theme is to put "functionality" in a plugin.
I am looking at adding more "premium features" like jQuery image sliders. This requires a back-end user interface for selecting featured content to slide. Is this presentation?
How about shortcodes? A shortcode is a simple hook that enables you to call a PHP function by adding something such as [shortcode] to a post or page. I see this in themes all the time. Is it presentation?
I am unable to sort it out!
Keep most of the heavy lifting in your functions.php file and you should be fine. But don't be afraid to add functionality to your other theme files since PHP and WordPress rely heavily on the integration of function and presentation.
The functions.php file of your theme is basically that theme's "plugins." There is really no difference between what you can do with functions.php and what you can do with a plugin.
Reasons to create a plugin instead of embedding it into the functions.php file include wanting re-usability in other themes, or if the Theme didn't necessarily depend on the functionality and disabling the plugin was something you wanted to have as an option.
Reasons to use the functions.php instead of plugins include your themes dependency on the functionality to aide the presentation in some manner and therefore the theme would look wrong without it.

Default Pages with Theme Install

I'm building a theme to be my deafult template to all my wp installs, I've managed to sucessfully create a theme options page and I can integrate them a page theme, but for this to work it is required that I create a new page, for instance, "Privacy Policy", set the page theme to my costum page theme that calls theme options, publish the page, modify the theme options in admin area. This works, but this is nto what I'm lookig for,
What I want is a pipeline that goes like, ->install theme->configure theme options-> done
I want to skip the process of creatign a new page and applying the page theme to it, I would like do this "hardcoded", like, a link in the footer to /privacypolicy.php", problem is that it does not work this way, I'm guessing this would be something related to .htaccess, like adding the permanent redirect to the full themplate directory / targetpage.php / and redirect it to something like "blogurl/privacypolicy", is it? the probleme is I know squat about configuring a .htaccess redirect or whateverm what should I do?
Thanks
Just an idea...what if you setup a clean WordPress install using the theme you developed. Add a page and put in the content that you want (Private Policy) and then extract the page entry from the table that WordPress stores it in and convert it into a sql statement which you then execute when your theme is activated. Make sure though that the page does not exist yet. Hope this helps.