About 9,130,000 results
Open links in new tab
  1. How to get category ID when creating new article in ...

    When creating a new article, how can I get the current selected category ID as shown in the category select field? I need to pass the value to a PHP variable. There is the javascript function

  2. Get current category ID of the active page - Stack Overflow

    Jan 12, 2012 · Looking to pull the category ID of a specific page in WordPress that is listing all posts using that specific category. Tried the below but not working. I am able to get the category name using

  3. Displaying Posts of Specific Categories in Wordpress - Perfist

    Sep 27, 2022 · If you are working on a project in WordPress, you should know about the components such as thumbnail, product, and category, and, how to patch up with PHP becomes crucial. In this …

  4. get_category () – Function | Developer.WordPress.org

    Retrieves category data given a category ID or category object.

  5. Display Category Slug in URL Instead of ID - Stack Overflow

    Dec 10, 2018 · I'm relatively new to Laravel, and I have found myself stuck trying to display category slugs instead of the ID.

  6. category_description() – Function | Developer.WordPress.org

    Result: WordPress is a favorite blogging tool of mine and I share tips and tricks for using WordPress here. Note: if there is no category description, the function returns a br tag.

  7. php - How to fetch categories, articles and subcategories and ...

    Nov 9, 2021 · Break this down into several parts: 1) you need recursion (php or sql) to get the categories in order. 2) do orphaned articles always come after the category list? 3) use the ids gathered in first …

  8. Get current article category ID (catid) in Joomla 3.2

    Dec 13, 2018 · I need to get current article category id, in older joomla version I used: <?php $catid = JRequest::getInt ('catid'); echo $catid; ?> But in Joomla 3.2 I get 0.