Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8626297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:59:32+00:00 2026-06-12T07:59:32+00:00

I am using a widget to show some related posts. I am inserting the

  • 0

I am using a widget to show some related posts.

I am inserting the code directly into the template as follows

<?php
$args = array(
"post_author_url" => "no",
"post_include" => "3456",
"layout_mode" => "multi_column","layout_num_cols" => "3");
special_recent_posts($args);
?>

However, I want to dynamically fill the ‘post_include’ field with an userID that I echo in as follows <?php echo get_user_meta($userID,'member_owner',true); ?>

So the code I am thinking would look something like this

<?php
$args = array(
"post_author_url" => "no",
"post_include" => "<?php echo get_user_meta($userID,'member_owner',true); ?>",
"layout_mode" => "multi_column","layout_num_cols" => "3");
special_recent_posts($args);
?>

I don’t know how to add this dynamic ID to the array as what i am doing does not work.

looking for some guidance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:59:33+00:00Added an answer on June 12, 2026 at 7:59 am
    "post_include" => get_user_meta($userID, 'member_owner', true),
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm using this code: <iframe src=http://www.connect.facebook.com/widgets/fan.php?href=http://www.facebook.com/pages/TopDesenecom/148037301911330&width=205&height=256&show_faces=true&stream=false&header=false&css=http://topdesene.com/template/fb.css></iframe> and facebook shows this code: <link href=http://external.ak.fbcdn.net/fbml_static_get.php?src=http%3A%2F%2Ftopdesene.com%2Ftemplate%2Ffb.css&appid=148037301911330&pv=1&sig=59bf9a037df3a88cb6ff142f25227177&filetype=css&cb=2
I have a selection for some items using a spinner widget. At the moment
I'm using a SimpleCursorAdapter and a ListView to show some data loaded with a
Hi I am using the Gallery widget to show images downloaded from the internet.
I am using an Android Gallery widget to show a series of Layouts, and
I am using AutoComplete widget. It works fine for two characters search but doesen't
I need to create a rectangle in a Canvas widget using the background color
Im using an existing widget from the jquery-ui labs call selectmenu. It has callback
i deserialize a widget-hierarchy using gson, but have problems deserializing final fields. Example: public
Actually I created a button using the cobogw widget library. But the button does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.