Category: Wordpress
-
WordPress #8: Display List of Categories Based on Labeled Posts (TBD)
Code On blog.php add, To remove ‘Categories’ title, add this CSS, To remove bulletpoints, add this CSS,
-
WordPress #7: Change ‘Read More’ button style on Content Views Plugin
After applying WordPress #6, the green button can be changed through CSS. On WordPress On the left menu >> Content Views >> Display Settings >> Scroll to ‘Read More text’ >> Click ‘Please check this document’. On Code Copy the instruction CSS to single.php or to blog.php (depending on which page). For example, Outcome
-
WordPress #6: Display Posts on A Page with Content Views Plugin
On WordPress Go to Plugins >> Add New >> Search for “Content Views” >> Install >> Activate Now on the WordPress menu / navbar on the left, there should be Content Views menu, Add New >> Add Title (any that represents the posts) >> Set Filter Settings / Category and Display Settings per required >>…
-
Bugs #1
List of known bugs in this site: Descriptions Screenshots Critical On /blog, card title, right margin does not equal to the left. Medium Thumbnail image is not a fixed size Medium Instagram feed doesn’t work High Categories section does not work. Links do not filter categories, instead going to a different URL. High Navbar burger…
-
WordPress #4: Create a constant footer on every page
On WordPress Appearance > Menus > create a new menu > Name the menu ‘Footer’. Select a menu to edit: Footer > Tick the pages boxes to be included in the menu > Add to Menu. Code On functions.php add, On footer.php add, On blog.php or other pages add,
-
WordPress #3: Add menu navbar on every page
Add pages Pages Add pages Add menu Appearance Menus Create a new menu Name the menu and create Check the page you want to add to menu/ navbar Add to Menu Menu Settings >> Primary Menu Save Menu Code On functions.php, add, On header.php, add, On every page’s script, add to the top before <body>…
-
WordPress #2: Create a sub-page
This note is useful if we want to add a sub-page: website.com/blog. Code Add blog.php file in the theme, blog.php: On WordPress Login to website.com/wp-admin Go to Page >> Add New Name the new sub-page, for example: ‘Blog’ On the right side, expand on Page Attributes, choose Template: Home. Expand on Permalink, on Slug, add…
-
WordPress #1: Create Static HTML Homepage for WordPress Site (Updated 5 Apr 2024)
Design your page Create the HTML and CSS file Rename the HTML file (e.g. home-custom.html) Create a custom template Open your XAMPP site directory (e.g./Applications/XAMPP/xamppfiles/htdocs/byamportfolio/wp-content/themes) Copy and paste one of the themes to the same directory Rename it to ‘custom’ Select the custom template on WordPress Open your WP (WordPress) site (e.g. akiramaria/wp-admin) Login Once…