Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read More - News Manager
#2
Hi, I never used news manager but I think I can help you.
I did not make a plugin. I just modified all of my files Sad
Here is what I did. You can make it a function.
Code:
<?php get_page_content(); ?>
                
                <?php
                
                $page = return_page_slug();
                
                if ($page == "index")
                {
                foreach(menu_data() as $menu)
                {
                if ($menu["menu_text"] != "Home")
                {
                echo "<br /><br />";
                $pubdate = date('l F dS Y \a\t: h:i a',strtotime($menu["pub_date"]));
                echo "<a href=",$menu["url"],">", $menu["title"],"</a><br />",$menu["content"],"<br />Posted on: ",$pubdate,"<br />";
                }
            
                }
                
                }
                ?>

I modified my menu_data to include the content so just remove that.
Here is how you create the links echo "<a href=",$menu["url"],">", $menu["title"],"</a>
Let me try to clean up for what you need
Code:
<?php
                foreach(menu_data() as $menu)
                {
                echo "<a href=",$menu["url"],">", $menu["title"],"</a><br /><br />";
                }
                ?>
Reply


Messages In This Thread
Read More - News Manager - by rigor789 - 2011-02-14, 02:44:19
RE: Read More - News Manager - by edita26 - 2013-04-06, 02:56:38
Read More - News Manager - by dom - 2011-03-02, 08:53:13



Users browsing this thread: 1 Guest(s)