I'm working on a friend's site and have an odd question.
This page http://everydaynomad.com/freelight/en/installations/off-grid-installations/ has a wp_query at the bottom which shows 4 items. It is paginated.
If you hit page 2 it loads at the top of the page and you scroll down to see 4 new posts.
I was wondering if there is a way to make page 2,3,4,5 etc etc focus on the div that displays the 4 posts when they load?
Related
I use WPBakery page builder (VS) And as shown as I use tab elements with 3 tab. First tab is top 5 posts have most comments, second is top 5 most viewed posts by users and the third is top 5 new posts.
tab elementin vs
for first and third I use carousel element and that work perfectly but in second tab how can I use carousel for show top 5 most viewed posts by users?
I install WordPress Popular Posts but that not usable in carousel element.
How can I do this?
element tab
I am maintaining a wordpress page which is using devdmbootstrap3, and has a navigation bar which has 5 different menu items on it. There is a page name "Our Team" and when inspect the element, it has "post-type-archive post-type-archive-team" and I guess this page is behaving as a post-page, on the other hand there is a main "New & Articles" page which is the main posts page( it was chosen as a Posts Page on static front page). When I click on "Our Team" on navigation bar, it jumps on News & Article first, I made a fix with Jquery with removing all those div classes that I mentioned above and fed regular page features but i don't think that is a good practice, and it seems like it is jumping on news & article menu item first then appears on our team menu item.
It is acting like a child menu of news&articles page,.
What i tried so far is:
1- I checked Admin>Pages>Our team page if it has a parent page or not
2- Made a Jquery removeClass and addClass to give a regular page behaviors
3-Disabled plugins and tried one by one if there is any conflict.
For your information, this is custom wordpress page.
Did anyone have the same issue that can lead me a good, long term solution? Thanks for your time and attention.
I know this example doesn't show a lot of pages. But, on sites with dozens of pages, I have to go to the next page, scroll, sort by title, etc. to find the home page. Is there a way to have the home/front page always appear at the top of the list.
By default, the WordPress pages list is ordered by menu order and then alphabetically. Knowing that, you can set the menu order for each page with the home page at 0 and everything else higher. If you set everything else at (for example) 1, those pages will come after the Home Page and then be ordered alphabetically. Or, you can set a fully custom menu order and your pages will be ordered accordingly.
In addition, plugins like this one (https://wordpress.org/plugins/simple-page-ordering/) will allow you to drag and drop reorder the pages so you can pull everything below the Home Page. (This plugin sets the menu order of the pages based on how you drag and drop them.)
I have 3 menus with some pages assigned to them.
I want to turn each menu into a slider.
So, for example, when a user clicks inside menu 2, page 3, I want to show left / right arrows to previous / next page in menu.
Is there a way I can do that using WP API?
Thank you.
I have, for example, 3 different pages. All pages should have a menu div, a logo div and a footer div. All divs should be the same on every page.
Is there any way to develop only one page and when I make a change on that page, this change should appear on every other page, in ASP.NET?
You can use Master Pages. As well as that MSDN page, you can view more tutorials on the official ASP.NET site.
If you use a master page then you get that same effect. Or you can use user controls and then include them in all 3 pages.