Viewing 15 replies - 1 through 15 (of 32 total)
  • What PHP code did you add? If it’s too long, you can post it to Pastebin and post the link here.

    Also, when I look at the first link you provided, the only thing I see is the menu, your logo, and a piece of text that says “Brushes” with an orange underline underneath it. I don’t see any images other than your logo.

    Thread Starter mostcla

    (@mostcla)

    Hello dear,
    here is the php post
    https://pastebin.com/wSAD5fPg

    this php code most show like this image check the link here
    https://im76.gulfup.com/l7Z00S.jpg

    Is this what you’re trying to do:

    You have a page called “Brushes”. You have other pages which are child pages of the page called “Brushes”. When someone visits the page “Brushes”, they should see the featured images of the child pages, with text overlaid over each featured image.

    Is that correct?

    Thread Starter mostcla

    (@mostcla)

    Yes correct.
    So what is the problem that it does show anything…

    Also i have few pages like brushes in same page (download page) with child pages but it’s fine if i fix the problem in brushes so i do same for other pages.

    I noticed you have a function called get_child_pages_by_parent_title(), which isn’t a standard WordPress function. Can you post the contents of that function to Pastebin as well? I have a suspicion about what might be wrong, but I need to see the function text to confirm it.

    Thread Starter mostcla

    (@mostcla)

    You mean content function of the style css?
    here is the content of the style
    https://pastebin.com/LCdudh8m

    No, I mean the text of the function I mentioned: get_child_pages_by_parent_title(). That isn’t a standard WordPress function, and I need to see the text to confirm something. That function should be defined somewhere in your theme’s files.

    Thread Starter mostcla

    (@mostcla)

    Yes This is the style and I posted PHP code inside the page and nothing appear there is something missing …

    Thread Starter mostcla

    (@mostcla)

    Yes the function must be defined in files of the theme…
    Style sheet or function file

    I understand that the function must be defined somewhere in your theme files. I need to see the text of the actual function. Your functions.php should have a line that starts with function get_child_pages_by_parent_title(). Can you post that line and everything that follows it to Pastebin?

    Thread Starter mostcla

    (@mostcla)

    I post function.php text to Pastebin?

    Thread Starter mostcla

    (@mostcla)

    Here is link https://pastebin.com/XuCBF7sm
    I did copy text in function.php file.

    Thread Starter mostcla

    (@mostcla)

    This is function text of the theme

    I’m sorry, but I still can’t find the definition for that function. Can you post the contents of tesla_framework/tesla.php? Also, you may wish to speak to whomever designed your theme for more information, as well.

    Thread Starter mostcla

    (@mostcla)

    here is the link of tesla.php
    https://pastebin.com/hrPfpWsv

    I did downloade the theme from internet and uploaded it to my host, I made it myself, and tried to make the php echo..

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Style sheet and PHP ECHO’ is closed to new replies.