display blog category name through blog category id in magento2 [on hold]Magento2 coding style for files and folder namesMagento 2: Display list of specific categories on Home PageMagento 2: Display Custom attribute value under the product name on category pageMagento2: How to get total page number of category?Magento2 : How to get product type?Magento 2:Show category name in cart pagedisplay image in custom page in admin grid through image namethrough image name stored in database display image in custom tab in admin grid in magento2set custom attribute value according to product category in magento2Get child category name and image - Magento 2.3
How to back up a running remote server?
What's the polite way to say "I need to urinate"?
A non-technological, repeating, visible object in the sky, holding its position in the sky for hours
How to creep the reader out with what seems like a normal person?
Phrase for the opposite of "foolproof"
Toggle Overlays shortcut?
Please, smoke with good manners
Transfer over $10k
Where does the labelling of extrinsic semiconductors as "n" and "p" come from?
Advice on laptop battery life
Confused by notation of atomic number Z and mass number A on periodic table of elements
Will tsunami waves travel forever if there was no land?
Is creating your own "experiment" considered cheating during a physics exam?
Reverse the word in a string with the same order in javascript
Why does processed meat contain preservatives, while canned fish needs not?
Cannot populate data in lightning data table
gnu parallel how to use with ffmpeg
How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?
How to stop co-workers from teasing me because I know Russian?
Where did the extra Pym particles come from in Endgame?
You look catfish vs You look like a catfish
Illegal assignment from SObject to Contact
What does YCWCYODFTRFDTY mean?
Is it possible to Ready a spell to be cast just before the start of your next turn by having the trigger be an ally's attack?
display blog category name through blog category id in magento2 [on hold]
Magento2 coding style for files and folder namesMagento 2: Display list of specific categories on Home PageMagento 2: Display Custom attribute value under the product name on category pageMagento2: How to get total page number of category?Magento2 : How to get product type?Magento 2:Show category name in cart pagedisplay image in custom page in admin grid through image namethrough image name stored in database display image in custom tab in admin grid in magento2set custom attribute value according to product category in magento2Get child category name and image - Magento 2.3
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a module for a blog in that I have different categories now I want print category name in phtml file through category id in magento2 I am getting category id
code to display category id
<?php
$categoryIds = $_post->getCategories();
print_r($categoryIds);
?>
through this code blog category id is coming now i want to display title
magento2
put on hold as unclear what you're asking by Dhiren Vasoya, Jai, HelgeB, Muhammad Hasham, Manashvi Birla 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I have a module for a blog in that I have different categories now I want print category name in phtml file through category id in magento2 I am getting category id
code to display category id
<?php
$categoryIds = $_post->getCategories();
print_r($categoryIds);
?>
through this code blog category id is coming now i want to display title
magento2
put on hold as unclear what you're asking by Dhiren Vasoya, Jai, HelgeB, Muhammad Hasham, Manashvi Birla 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
which blog extension you are using?
– magefms
Apr 25 at 13:41
can you post whole phtml code
– magefms
Apr 25 at 13:48
add a comment |
I have a module for a blog in that I have different categories now I want print category name in phtml file through category id in magento2 I am getting category id
code to display category id
<?php
$categoryIds = $_post->getCategories();
print_r($categoryIds);
?>
through this code blog category id is coming now i want to display title
magento2
I have a module for a blog in that I have different categories now I want print category name in phtml file through category id in magento2 I am getting category id
code to display category id
<?php
$categoryIds = $_post->getCategories();
print_r($categoryIds);
?>
through this code blog category id is coming now i want to display title
magento2
magento2
asked Apr 25 at 13:25
Ashish RamchandaniAshish Ramchandani
39711
39711
put on hold as unclear what you're asking by Dhiren Vasoya, Jai, HelgeB, Muhammad Hasham, Manashvi Birla 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Dhiren Vasoya, Jai, HelgeB, Muhammad Hasham, Manashvi Birla 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
which blog extension you are using?
– magefms
Apr 25 at 13:41
can you post whole phtml code
– magefms
Apr 25 at 13:48
add a comment |
which blog extension you are using?
– magefms
Apr 25 at 13:41
can you post whole phtml code
– magefms
Apr 25 at 13:48
which blog extension you are using?
– magefms
Apr 25 at 13:41
which blog extension you are using?
– magefms
Apr 25 at 13:41
can you post whole phtml code
– magefms
Apr 25 at 13:48
can you post whole phtml code
– magefms
Apr 25 at 13:48
add a comment |
1 Answer
1
active
oldest
votes
You can try this:
$title = $_post->getParentCategories()->getTitle();
echo $title;
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can try this:
$title = $_post->getParentCategories()->getTitle();
echo $title;
add a comment |
You can try this:
$title = $_post->getParentCategories()->getTitle();
echo $title;
add a comment |
You can try this:
$title = $_post->getParentCategories()->getTitle();
echo $title;
You can try this:
$title = $_post->getParentCategories()->getTitle();
echo $title;
answered Apr 25 at 14:03
magefmsmagefms
2,8692529
2,8692529
add a comment |
add a comment |
which blog extension you are using?
– magefms
Apr 25 at 13:41
can you post whole phtml code
– magefms
Apr 25 at 13:48