I am a web developer beginner on worpdress. I'm working on a professional website project. I have a question about the menu with title and content. I want to make a menu accordion effect with a title, subtitles and content in wordpress. For example :
Title 1
Subtitle 1
Content
Subtitle 2
Content
Title 2
Subtitle 1
Content
Subtitle 2
Content
Title 3
Content
I managed to do only Title + Content but I can't do the subtitle and also the categories (and subcategories). What is the possible solution? Here is the screenshot of my code and also the screenshot of my result.
enter image description hereenter image description here
I would like to know how the subtitles can hide under the wordpress when the user clicks that it is displayed?
Thanks for your help
Related
I have a quick link with the filmstrip layout. Some of the items are MS Streams videos. The generic web icon shows for them in the filmstrip. I would like to add a custom image, or at least show an image in the video. If I try the custom image icon, here is no option to specify the image.
enter image description here
enter image description here
When I try custom image, there is no option to upload an image. I was expecting that feature.
Currently, my title overlays my cover image on my pages and posts. I do not like this and want it either hidden or removed. I've tried plugins and they don't work. What code can I use to do this? I have a child theme.
My Site with example of this: https://intentionaldetours.com/example-laos-article/
Plugins that didn't work and messed up my menu. I just want this text deleted on the display, I need it to show up in other areas of the site
Don't have any
Titles either not displaying at all on pages, and for post below the featured image
Do you want remove the text "Example Laos Article 2 months ago"? Is it?
If so, you can add some CSS code to hide it.
Something like:
.entry-header {
display: none;
}
I have a page with:
title
image gallery
with code for title:
<h2 class="wsite-content-title" style="text-align:left;"><font color="#515151" size="5"> External / Internal</font></h2>
and the code for image gallery.
I want to make a wrapper div for these both elements (title and image gallery, which are h2 and a div) with HTML. Is there a way to do that?
I found the code using Inspect in Chrome... but to change the code, I need to know where it is in the Weebly editor. I can't find it.
Note: the page is a "Standard Page" (as opposed to "Blog Page")
i have got following problem with Joomla! 3.3.4: after entering text to the Browser Page Title window in article options, the title doesn't change. In that place is only displayed the global sitename. In older Joomla everything works properly.
To change the field title you need to edit the menu item options. When you go to the detail view of menu item in question, navigate to the Page Display tab. The first field is Browser Page Title, enter the title you want to appear and save.
That should sort it out for you...
Please try to switch to the default template and if it works there is something wrong with your template.
In order to set browser title you could use setTitle() method.
<?php
$this->setTitle( $title );
?>
You could check setTitle usage at: Joomla Docs.
If you want to set title in article template you could make an addition to:
/templates/*template_name/html/article/default.php
An example code that could set the article title to browser title would be:
<?php
$this->setTitle( $this->item->title );
?>
Hope this helps
Go to Global Configuration -> Site -> Include Site Name in Page Titles and set it to Before or After. Of course you also have to set a Site Name.
I am creating a web application with VS 2012 Express for web using VB. When a user types in a url, I want the page to return a list of all the links and text input boxes on the page that could be clicked on and taken to that page or to fill in the input box. I do not want the url visible.
For instance: if I type a url in the address bar and hit enter, a new window would appear only showing the links such as menu items or text unput boxes in the following format:
Link: About Us
Text Input Box
It would not show: (the actual html code- completed)
'a href="http://mypage.com">About Us'
Use a WebBroswer control. Navigate to a page. Then WebBroswer1.Document.Links will have all the links in the page.