August 22, 2016 at 4:21 pm #191838
The blog is dominika.co and the problem can be seen here: http://dominika.co/2016/03/asos-shopping/
I have added a widget area below menu that has a featured image as the background. I am trying to do the trick and I want to remove the post date and title appearing BELOW the image and place post date and title ON THE background instead.
What I did:
I added post-date shortcode into the widget area so the post date now displays on the background, in the widget area as I wanted however I cannot find the shortcode for post title therefore I am unable to add it as a textwidget with shortcode on this background.
Any idea what alternative I could use for post title shortcode?
Any help much appreciatedAugust 23, 2016 at 5:19 am #191868itzsniderParticipant
Not sure if this is the best coding advice BUT you can always do the below
Just do a display none and that little widget box goes away.August 23, 2016 at 5:19 am #191869Victor FontModerator
Genesis doesn't have a shortcode for displaying a post title. You need to use the WordPress function: https://developer.wordpress.org/reference/functions/get_the_title/
Why wouldn't you just use the featured post widget and display only the title and post data? It would be a lot easier.
August 23, 2016 at 7:28 am #191888Brad DaltonParticipant
You could create a shortcode for the post title.
August 23, 2016 at 2:37 pm #191921
hello Victor, thank you for taking time to answer but I do not want to display Featured Post above post content. I want to display full width featured image that has post title and post date on the top of it.August 23, 2016 at 2:38 pm #191922
thanks for taking time to respond but I do not want to get rid of the widgdetAugust 24, 2016 at 7:51 am #191942Victor FontModerator
As an FYI, the featured post widget has a setting to display no content, just the title and entry meta which is what you want. I don't know why you want to reinvent the wheel.
September 5, 2016 at 8:41 am #192628
This is not what I was trying to achieve Victor. I wanted the action to appear on single post page. I wanted Featured image of the post currently open to appear full width above content with post date and title ON IT.September 5, 2016 at 8:51 am #192630Brad DaltonParticipantSeptember 5, 2016 at 12:35 pm #192648
I solved it now, and the result of what I was trying to achieve can be seen here: http://www.missblogger.co/pamela/2016/09/05/quisque-nec-ante-velit/
Thanks to everyone who wanted to help
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.