• emaarkhan

    (@emaarkhan)


    Hi,
    I have some hard coded links in footer. which i want to link to pages. But don’t know the url on which i will upload the site.so how can i reach out to that page in anchor tag.so it opens up same page despite whatever the url is?

Viewing 9 replies - 31 through 39 (of 39 total)
  • Thread Starter emaarkhan

    (@emaarkhan)

    I’ve tested the code in the footer of Twenty Ten and it works fine for me.

    its not in footer. its in home.php under and after get_template_part( 'loop', 'index' );

    esmi

    (@esmi)

    It also works fine in index.php immediately after get_template_part( 'loop', 'index' );.

    Thread Starter emaarkhan

    (@emaarkhan)

    yes got it working.thank u so much esmi. your a ninja diva! btw i wanna learn plugin development but i have weak php. does it require strong php or strong OOP coz i don’t know php OOP. and how can i test my php to know how good i am?

    esmi

    (@esmi)

    It requires strong PHP but OOP skills are optional. Have a look at Writing_a_Plugin.

    Thread Starter emaarkhan

    (@emaarkhan)

    The page is empty. how do one know they have strong or weak or mid level php.someone who is freelance?

    esmi

    (@esmi)

    Sorry – try the link again. I used the wrong text case initially but I’ve corrected the link now.

    how do one know they have strong or weak or mid level php.

    If you’re looking for paid development work, ask them for reference work/sites.

    Thread Starter emaarkhan

    (@emaarkhan)

    One last question..How can i target the content inside content div for page or post.my text seem to be out of screen and i can’t find anything besides p tag inside content.

    p.s = how can someone give u php work if they know or u don’t know php?

    esmi

    (@esmi)

    How can i target the content inside content div for page or post.

    You need the right CSS classes and ids in place in the markup first. Then it’s down to targeting your new CSS via these classes/ids. Try using Firefox with the Firebug add-on for this kind of CSS work.
    https://getfirebug.com/

    how can someone give u php work if they know or u don’t know php?

    Could be word of mouth. Or they’ve seen you in action on forums like these. Or they could have just stumbled across one of your sites or plugins.

    Thread Starter emaarkhan

    (@emaarkhan)

    yes i use firefox.inside content i see entry-content.so i be targeting that to fix my text. coz the text seem offset and messed

Viewing 9 replies - 31 through 39 (of 39 total)
  • The topic ‘linking urls without domain full address’ is closed to new replies.