• I am new to word press. i want to know that if i write my own code e.g. signup and signin code besides using wordpress plugin, is it work in word press? can i develop word press as i develop and code normal php sites?

    any help is appreciated..

Viewing 15 replies - 1 through 15 (of 17 total)
  • Yes Definitely refer to the codex for available functions and tags

    Thread Starter mariam9927

    (@mariam9927)

    U want to say that i can use only available functions and tags. cannot write my own code like normally in PHP.

    Actually, you can edit anything you want in wordpress. And it depends only on your programming skills wether it will work on not. And also you will loose ability to update and possible use some plugins.

    It is much easier to use wordpress API. Just open functions.php of your theme and create any functions you want. Find appropriate hooks in Codex and link your functions to events you want to replace.

    Thread Starter mariam9927

    (@mariam9927)

    Now i got some clue to deal with. Thank you

    You can include anything you want in your theme pages.

    Thread Starter mariam9927

    (@mariam9927)

    Thank you timDesain that link is very helpful for me.

    khalimaila

    (@khalimaila)

    Hi,

    By mistake I have deleted the code from search.php of twenty eleven theme and now search is not working now.

    Can someone please send me the default code to [ email removed, please stick with the forums ] so that I can update.

    Thanks in advance

    Thread Starter mariam9927

    (@mariam9927)

    Here is the code you can copy it from here.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    khalimaila

    (@khalimaila)

    Hi Mariam,

    Thanks a lot for your reply…it worked ..hurray!

    khalimaila

    (@khalimaila)

    I have one more question if you don’t mind:

    I want to change the look from a blog to website. I mean, every time I go to my page it shows “Nothing Found” with a search text box.

    I want to get rid of this and add some videos\images on the default(first page.

    If possible can you please send me any code for this type of things and directions where to add this code?

    I am newbie and trying to create a website,please help.

    Thanks a lot in advance.

    Thread Starter mariam9927

    (@mariam9927)

    Hi Khalimaila,

    please read that instructions for changing the blog to website.
    https://www.impressivewebs.com/10-wordpress-tips-to-make-your-blog-look-like-a-website/

    you can add image with simple

    img

    tag in sidebar appearance options.

    Hi Everyone,

    I’m a complete novice to web building and Word Press.

    I am so frustrated doesn’t describe me right now; I’m over my head.

    I have no prior experience with WP and I have encountered many difficulties on my 2 days journey trying to set up my first website. I have no idea how to make my posts appear on my homepage so, I went looking for answers on the web and copied some code that instead brought all my pages on my homepage. I didn’t like it so I went back and deleted the code, apparently, I deleted almost all the existing codes and this is the message I get:

    Parse error: syntax error, unexpected $end in /home/premiers/public_html/wp-content/themes/esplanade/functions.php on line 23

    Please, I need your help as I see you know about codes and templates. Also how do I make all my posts show on my homepage while referring/numbering older posts?

    I look forward to your prompt response.

    Warm Regards,

    Robin

    Re-upload a fresh copy of your current theme to wp-content/theme using FTP.

    Hey,

    Thanks for finding time to answer Esmi but, err…, what’s FTP? and I can go no where on my site. when I logged in again I still got that message:

    Parse error: syntax error, unexpected $end in /home/premiers/public_html/wp-content/themes/esplanade/functions.php on line 23

    Nothing is moving or willing to move. Even called my web analyst friend on skype but he’s half way across the globe in the US and I’m here in the UK. Frustration!!!

    I cannot go to themes or anywhere at all. that message is constant, even when I check my computer history and get to somewhere before the “accident”, nothing but that message comes up.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘my own code in wp pages’ is closed to new replies.