WPThemeCity.net

Premium WordPress Themes and Support

Category Archives: WordPress

After more than ten years of working with WordPress, this is one of the areas that gets asked the most as a WordPress developer. WordPress is a great open source platform that approximately 76 million websites depend on WordPress today. That is a huge market share when it comes to website platforms. WordPress is one of the most widely developed platforms out there with well over 200,000 plugins and growing every day. In this article, I am going to talk about why you should lock out parts of the admin panel from your customers and how to go about doing just that.   User Roles: There are five types of user roles in the WordPress platform. The most fundamental starting Continue Reading…

  I’m by all means not a SEO specialist, but even a novice web designer should know that one page websites are horrible as far as SEO is concerned. If you have very little content that fits in one page, you are better off by dividing that content into different pages. That said, we a have  a feature in our themes that we can decide which custom menu to display per page/post. Thus we can have the best of both worlds, a regular website, with blog posts, e-commerce, various other pages, and a page that will act like a one page web site.         Ok, lets start. To create a one page web site we need a few Continue Reading…

  I was put in a situation where I had FTP access to this client’s WordPress site, and I had access to his database too via phpMyAdmin, but not the administrative credentials (username & password) for the site. As long as I had FTP access and a phpMyAdmin it took me a couple of minutes to gain access  to the backsite. At this point I know what you are thinking – “Why don’t you use the WordPress feature where you can recover lost passwords”? I could not use that feature, because I did not have access to the mailbox where WordPress was going to send the information to. I had to resort to the following tactics: 1 – If You don’t have Continue Reading…

  I was asked to move a website to a new location, where the owner of the site for whatever reason had no admin rights to the backsite. All we had to go with were 2 files, the MySQL database dump file, and the files of the site in a zip file. Off topic here but, for migrating sites, I use the plugin called “Duplicator” , but sometimes this does not work well, if you have very large files, or the size of the site is too big, and your hosting is configured in a way that the execution time is not big enough, so you run out of time before completing the task, or the php version is old, Continue Reading…

  There will be times where you will need to increase your site’s memory, execution time, and/or upload sizes. Here are 3 methods you might use to change the settings. 1 – Functions.php file: @ini_set( ‘upload_max_size’ , ’64M’ ); @ini_set( ‘post_max_size’, ’64M’); @ini_set( ‘max_execution_time’, ‘300’ ); If  the above does not work: 2 – .htaccess file: php_value upload_max_filesize 64M php_value post_max_size 64M php_value max_execution_time 300 php_value max_input_time 300 If the .htaccess approach does not work either, then you can try using: 3 – php.ini file: Note: If you hosting is shared, then you will not have access to the php.ini file. Here is a little trick to combat that: Create a php.ini file in your WordPress site’s root folder upload_max_filesize = Continue Reading…