mrdaliri
mrdaliri

Reputation: 7358

how to use plugins in pages

I have a simple question!

I installed a wordpress plugin (like that). It prints some links .. when we called it: <?php echo oscimp_getproducts(3); ?>

Now, I want to print that links in a page, called "Our market".

How can I placed that code into my page (where is my page php code? and how can I edit it?)

Thanks!

Upvotes: 0

Views: 144

Answers (2)

Eric Giguere
Eric Giguere

Reputation: 3505

An easy way to include arbitrary PHP in a given post/page is to use a plugin like Shortcode Exec PHP, especially if you're not comfortable with PHP programming.

Upvotes: 0

jdp
jdp

Reputation: 3516

Do you want a Custom Page Template? I would do this, then stick the PHP code you shared above in the template file. If you're feeling adventurous and know a bit about PHP, you could also try creating a Shortcode.

Upvotes: 1

Related Questions