/    Sign up×
Community /Pin to ProfileBookmark

Unique PHP Question

I am using a CMS (wordpress, you might have heard of it) which gives me a php markup to show Pages that are created in the CMS. Using this code, it will show all of them created by the user, and it doesn’t matter how many or less.

How can I add a bit of style to each page that is shown, such as shown:

Link | Link | About Us | Example | Hi

Here is the php code that is given by the document on wordpress:

[code=php]
<?php wp_list_pages(‘title_li=’); ?>[/code]

The part of the php that is referencing the title is to remove the category name being shown which the links are saved under.

Any help would be greatly appreciated, as I’ve been trying to figure this out after long research.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@mr_billDec 22.2008 — Are you trying to add these pages to the navigation?
Link | Link | About Us | Example | Hi[/QUOTE]
Copy linkTweet thisAlerts:
@1234567890authorDec 22.2008 — No, I am trying to add the | after each link. Example of what I hope to find out on here is the following:

Link | Link | Link | Link |

Notice the "|", without quotes around it after each Link that is supplied in the php code for which it produces.
Copy linkTweet thisAlerts:
@NogDogDec 22.2008 — Probably would be easier to change it in the CSS stylesheet, either adding a border-right setting to the menu elements, or possibly a background image positioned to the right (no-repeat) if you want something fancier.
×

Success!

Help @1234567890 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...