Forum Replies Created

  • In reply to: Random front page

    #31026

    Thanks for your update and for the suggestions.

    But I removed the random function and the rest as on of the child pages it was duplicated in the static page.

    I have one very last question in the front page the images listed in the slider and child pages are all 150 x 150 pix, is any way to show them as 100 x 100 pix?

    Thanks again for the support.

    In reply to: Random front page

    #31024

    Thank and sorry for causing problems

    In reply to: Random front page

    #31022

    No I want the child pages still there.

    As you remember the problem was that within the child pages it was showing again the same page as the random page

    In reply to: Random front page

    #31020

    Is not showing any more the child pages below the random page.

    In reply to: Random front page

    #31017

    I have created a called blank page the number for it is 1033

    Then included in the css

    .post-1033 {

    display: none;

    }

    Then included the random function in the function.php

    Lastly in the admin reading settings: selected the blank page as the static front page

    and as results the child pages are not displaying any longer.

    In reply to: Random front page

    #31015

    Sorry it doesn’t work, because by replacing the post-2. with 1033 (this is the number of my blank page) I will have a random page at the top, then page number 2 at bottom and lastly the children pages.

    In reply to: Random front page

    #31013

    Thank you vey much Prasanna for the super suggestion, now your tweaking

    is working fine, actually I have included in the function the following code:

    Quote:
    ‘post_parent’ => 2,

    I done this because I prefer to show only random pages belonging to a certain parent page, (On my case number 2).

    But now I have another little problem, before applying your random code in the Graphene setting I had setup and still showing all child pages belonging to that parent page.

    Whenever a visitor is visiting the front page he/she will see a random page and below that child pages, but one of the child page will have the same title and description as the top random full page.

    To avoid script complications I was wondering if it could be possible to list the child pages BUT BELONGING TO THE PARENT PAGE, therefore to exclude to be listed pages belonging to the parent on my case number 2 ?

    Your help is much appreciated.

    Thanks Antonio

    In reply to: Random front page

    #31011

    Thank you for the prompt reply, unfortunately by adding your suggested code I do get a random page but underneath that random page still I do get the static default page.

    I was wondering which is the file which that is coding the front page?

    Thanks Antonio

Viewing 8 posts - 1 through 8 (of 8 total)