我刚开始使用 Wordpress,几周前我发布了一个网站。今天我想编辑主页,但我收到以下错误:
Sorry, the content area was not found in your page. You must call the_content function in the current template, in order for Elementor to work on this page.
我还没有编辑过我的主页,几周前它运行良好。有没有人可以帮我解决这个问题?
目前我的代码如下所示:
<Button Command="{Binding DrinkCommand}" CommandParameter="Capuccino" Style="{StaticResource DrinkButton}">
<TextBlock>Capuccino</TextBlock>
</Button>
<Button Command="{Binding DrinkWithSugarCommand}" CommandParameter="Capuccino" Style="{StaticResource DrinkButton}">
<TextBlock>Capuccino + sugar</TextBlock>
</Button>
Run Code Online (Sandbox Code Playgroud)
你可以看到我RelayCommand
对加糖和不加糖的卡布奇诺有不同的选择。
我想添加添加额外牛奶的选项。但是我会得到:
DrinkCommand
,
DrinkWithSugarCommand
,
DrinkWithMilkCommand
,
DrinkWithSugarAndMilkCommand
。
有没有办法让他们知道DrinkCommand
我想要加糖和/或牛奶的饮料(卡布奇诺)?