Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi Sunsclinic. From experience, there’s an option to upload your own cover page in the Options area of WMP. I’m afraid you can only upload 1 custom cover page though.

    Thread Starter sunsclinic

    (@sunsclinic)

    Thx dreddurius. But when I upload the custom cover page. The default one still exists. Is there any chance that only show the one I uploaded?

    Just wondering, what’s the file size of the image you’re trying to upload?

    Thread Starter sunsclinic

    (@sunsclinic)

    not big. Just 530kb

    Thread Starter sunsclinic

    (@sunsclinic)

    Is it related to this problem?

    There’s this notice in WP Mobile Pack that it’s suggested that the cover page be less than 1MB. Sorry as I was just wondering.

    Do you have FTP access to your site? AFAIK you may have to set the folders to writable (777).

    Thread Starter sunsclinic

    (@sunsclinic)

    It’s ok. Which folder did you refer to need to be writable? BTW Could I change something in the wordpress plug-in editor to delete the default photos.

    In this folder:

    /plugins/wordpress-mobile-pack/themes/base/includes/resources/images

    It contains images named as “pattern-1.jpg, pattern-2.jpg, pattern-3.jpg” and so on and so forth.

    1. Simply rename your custom cover image in the mentioned naming convention above and overwrite the original images via FTP.

    2. Open TEMPLATE.PHP, locate the following line,usually in line 137:
    $cover_path = $theme_path."includes/resources/images/pattern-".rand(1, 6).".jpg";

    In my case, I uploaded 3 images so I changed the random cover pages to:
    $cover_path = $theme_path."includes/resources/images/pattern-".rand(1, 3).".jpg";

    As for which folders needed to change permission, I changed them all. Bad practice, I know ??

    Thread Starter sunsclinic

    (@sunsclinic)

    Thank you very much dreddurius. The problem fixed.

    @sunsclinic,

    Were you having troubles with the custom cover? Can you please tell me what the problem was? If it is a bug, we would like to fix it before the next release.

    Thank you.

    I am having this same problem and having difficulty following the instructions above. Where would I find template.php?

    Plugin Contributor cborodescu

    (@cborodescu)

    @sbwilliamson see @dreddurius indications.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Hide default cover pages of WordPress Mobile Pack’ is closed to new replies.