Title: foreach  page title
Last modified: August 20, 2016

---

# foreach page title

 *  [markquee](https://wordpress.org/support/users/markquee/)
 * (@markquee)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/foreach-page-title/)
 * I’m newbie..I have an array of 10 strings separated with comma “,”I need to make
   that arrays to be page title at once.
 *     ```
       $k_menu=explode(",",$row['keyword']);
       		foreach($k_menu as $key_menu){
       		 for($counter=1;$counter<=200;$counter++){
       		$posts[$counter]->page_title = __($key_menu);
               $posts[$counter]->post_content = $key_menu[$counter];
       		 }
       	}}
       ```
   

The topic ‘foreach page title’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [markquee](https://wordpress.org/support/users/markquee/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/foreach-page-title/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
